Skip to content

Commit 351fa0b

Browse files
authored
Update 46.permutations.md
1 parent aa00852 commit 351fa0b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

problems/46.permutations.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ https://leetcode-cn.com/problems/permutations/
5050
5151
通用写法的具体代码见下方代码区。
5252

53+
[1,1,2] 为例,我们的逻辑是:
54+
55+
- 先从 [1,1,2] 选取一个数
56+
- 然后继续从 [1,1,2] 选取一个数,并且这个数不能是已经选取过的数。
57+
- 重复这个过程直到选取的数字达到了 3,
58+
5359
## 关键点解析
5460

5561
- 回溯法

0 commit comments

Comments
 (0)