We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a4527 commit 37b7cc9Copy full SHA for 37b7cc9
Solutions/0078. 子集.md
@@ -56,7 +56,7 @@
56
- 当遍历到决策树的叶子节点时,就终止了。也就是当正在考虑的元素位置到达数组末尾(即 `start >= len(nums)`)时,递归停止。
57
- 从决策树中也可以看出,子集需要存储的答案集合应该包含决策树上所有的节点,应该需要保存递归搜索的所有状态。所以无论是否达到终止条件,我们都应该将当前符合条件的结果放入到集合中。
58
59
-### 思路 1 :回溯算法代码
+### 思路 1:回溯算法代码
60
61
```Python
62
class Solution:
0 commit comments