Find kth Permutation
Given a set of 'n' elements, find their kth permutation.
Statement
Given two numbers and , find k permutation of . For , all permutations are (with ordering):
Sample input
Here 4 is the number ...
Given a set of 'n' elements, find their kth permutation.
Given two numbers and , find k permutation of . For , all permutations are (with ordering):
Here 4 is the number ...