LeetCode Solution, Medium, 78. Subsets