MinimumChangePermutations

MinimumChangePermutations[l]
constructs all permutations of list l such that adjacent permutations differ by only one transposition.

DetailsDetails

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