Make your own free website on

Free Courses     Free Gallery     Free Library     Free FAQS     Free Links     Free Speech    

Kth permutation and next permutation algorithms

Sample output:

This program demonstrates two algorithms: the kth permutation and the next permutation.
Enter the length (2 - 9): 3
Enter the value of k (1 - 6): 4
The 4th permutation is: 231
The next permutation is: 312

Contact the original author through Download everything in here.

home | main | top