Combinatorica`
Combinatorica`

LexicographicPermutations

LexicographicPermutations[l]

constructs all permutations of list l in lexicographic order.

Details

See Also

NextPermutation  UnrankPermutation  RankPermutation

Tutorials