mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 19:44:45 +08:00
Update 0046.全排列.md
This commit is contained in:
@ -147,6 +147,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
Java:
|
Java:
|
||||||
|
```java
|
||||||
class Solution {
|
class Solution {
|
||||||
List<List<Integer>> result=new ArrayList<List<Integer>>();
|
List<List<Integer>> result=new ArrayList<List<Integer>>();
|
||||||
Deque<Integer> path=new LinkedList<Integer>();
|
Deque<Integer> path=new LinkedList<Integer>();
|
||||||
@ -171,7 +172,7 @@ class Solution {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Python:
|
Python:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user