LexicographicPermutations

LexicographicPermutations[l]
constructs all permutations of list l in lexicographic order.

DetailsDetails

New to Mathematica? Find your learning path »
Have a question? Ask support »