Subsets & Combinations - Subsets
Suppose you want to generate all subsets of
nums but now elements can be reused unlimited times in each subset (i.e., multisets). Which modification to the backtracking approach correctly handles this?