DistinctPermutations

DistinctPermutations[l]

gives all permutations of the multiset described by list l.

Details

See Also

LexicographicPermutations  MinimumChangePermutations

Tutorials