Combinatorica`
Combinatorica`

DistinctPermutations

DistinctPermutations[l]

gives all permutations of the multiset described by list l.

更多信息和选项