Skip to content

Commit 54d2a93

Browse files
authored
Update Permutations - Leetcode 46.py
1 parent d5c7799 commit 54d2a93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Permutations - Leetcode 46.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ def backtrack():
1616

1717
backtrack()
1818
return ans
19+
20+
# Time Complexity: O(n!)
21+
# Space Complexity: O(n)

0 commit comments

Comments
 (0)