mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 00:43:04 +08:00
“不适用” -> “不使用”
This commit is contained in:
@ -115,7 +115,7 @@ public:
|
|||||||
|
|
||||||
## 补充
|
## 补充
|
||||||
|
|
||||||
本题也可以不适用used数组来去重,因为递归的时候下一个startIndex是i+1而不是0。
|
本题也可以不使用used数组来去重,因为递归的时候下一个startIndex是i+1而不是0。
|
||||||
|
|
||||||
如果要是全排列的话,每次要从0开始遍历,为了跳过已入栈的元素,需要使用used。
|
如果要是全排列的话,每次要从0开始遍历,为了跳过已入栈的元素,需要使用used。
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user