Hi,
I want to find nth permutation of a string containing duplicate characters.
So far, I know that If the string does not contain any duplicate characters answer can be found using Factoradic number system as explained here
But for string containing duplicate characters, I am stuck.