Friday, March 15, 2013

Permutations II


Permutations IIMar 17 '12
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2][1,2,1], and [2,1,1].

No comments:

Post a Comment