# Leetcode 90 - Subsets II

Note:

• This is a backtracking problem.
• Much like Combination II, we need to sort nums first and use used[] to keep track of prev elements.
• We need to add every node, instead of just leaf node.

Given an integer array nums that may contain duplicates, return all possible subsets (the power set).

The solution set must not contain duplicate subsets. Return the solution in any order.

Example