Problem Statement

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

The solution must not contain duplicate subsets.

Brute Force Intuition

Generate all possible subsets using the classic Pick / Not Pick recursion.