Problem
Given a collection of numbers,nums, that might contain duplicates, return all possible unique permutations in any order.
Examples
Constraints
1 <= nums.length <= 8-10 <= nums[i] <= 10
Tested Python solution for LeetCode 47 with 12 pytest cases. Generate a practice environment with lcpy.
nums, that might contain duplicates, return all possible unique permutations in any order.
1 <= nums.length <= 8-10 <= nums[i] <= 10