We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab9a607 commit d681547Copy full SHA for d681547
backtracking/all_permutations.py
@@ -2,7 +2,7 @@
2
In this problem, we want to determine all possible permutations
3
of the given sequence. We use backtracking to solve this problem.
4
5
- Time complexity: O(n!),
+ Time complexity: O(n! * n),
6
where n denotes the length of the given sequence.
7
'''
8
0 commit comments