permutation-rank

Ranks and unranks permutations

Browse on unpkg