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):
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy