This commit is contained in:
krahets
2023-08-28 23:52:27 +08:00
parent 94b5cf3705
commit 6ae6c480e0
12 changed files with 84 additions and 82 deletions

View File

@@ -5040,6 +5040,8 @@
<p>相比基于前序遍历的代码实现,基于回溯算法框架的代码实现虽然显得啰嗦,但通用性更好。实际上,<strong>许多回溯问题都可以在该框架下解决</strong>。我们只需根据具体问题来定义 <code>state</code><code>choices</code> ,并实现框架中的各个方法即可。</p>
<h2 id="1314">13.1.4 &nbsp; 常用术语<a class="headerlink" href="#1314" title="Permanent link">&para;</a></h2>
<p>为了更清晰地分析算法问题,我们总结一下回溯算法中常用术语的含义,并对照例题三给出对应示例。</p>
<p align="center"> 表 13-1 &nbsp; 常见的回溯算法术语 </p>
<div class="center-table">
<table>
<thead>