- Print all permutations of a given string in sorted (lexicographic) order [GeeksforGeeks]
- Print all permutations of a given string [GeeksforGeeks]
- Print all permutations with repetition of characters of a given string [GeeksforGeeks]
- Print all permutations of a collection of numbers [Leetcode]
- Print all unique permutations of a given collection of numbers that might contain duplicates [Leetcode] [Analysis]
- Next Permutation [Leetcode]
- K-th Permutation[Leetcode]
#2 and #4 are the same problem, they can be solved by either dynamic programming or backtracking.
#5 is based on #2 and #4, the extra work is to eliminate duplicates.
#7 needs to find out the mathematical pattern [my solution].
No comments:
Post a Comment