Report question

Question: number to unique permutation mapping of a sequence containing duplicates