Given a collection of numbers that might contain duplicates, return all possible unique permutations.
Example
Input: [1,1,2]
Output:
1 | [ |
Code
1 | public List<List<Integer>> permuteUnique(int[] nums) { |
写BUG的程序猿
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
Input: [1,1,2]
Output:
1 | [ |
1 | public List<List<Integer>> permuteUnique(int[] nums) { |