47. Permutations II (has not been solved yet)

来源:互联网 发布:淘宝达人怎么玩 编辑:程序博客网 时间:2024/06/07 02:20

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],
[2,1,1]
]

0 0
原创粉丝点击