Skip to content

Commit 3b01da4

Browse files
committed
Update permutations.py
1 parent 2b59e14 commit 3b01da4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/permutations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: O(n!)
1+
# Time: O(n * n!)
22
# Space: O(n)
33
#
44
# Given a collection of numbers, return all possible permutations.

0 commit comments

Comments
 (0)