Sorted Permutation Rank with Repeats InterviewBit Solution
Given a string, find the rank of the string amongst its permutations sorted lexicographically.
Note that the characters might be repeated. I