algorithm_study
algorithm_study copied to clipboard
Nth permutation
https://www.geeksforgeeks.org/lexicographically-n-th-permutation-string/ https://www.geeksforgeeks.org/find-n-th-lexicographically-permutation-string-set-2/
https://stackoverflow.com/questions/31216097/given-n-and-k-return-the-kth-permutation-sequence
https://leetcode.com/problems/permutations/discuss/18444/new-approach-directly-find-the-kth-permutation-k-1n-with-a-simple-loop
https://github.com/SuprDewd/CompetitiveProgramming/blob/master/code/other/nth_permutation.cpp