DistinctPermutations

DistinctPermutations[l]
gives all permutations of the multiset described by list l.

更多信息更多信息