Getting Nth permutation of a sequence and getting back original using its index and modified sequence
Getting Nth permutation of a sequence and getting back original using its index and modified sequence Question: I know the most popular permutation algorithms (thanks to wonderful question/answer on SO, and other related sites, such as Wikipedia, etc), but I recently wanted to see if I could get the Nth permutation without exhausting the whole …