LeetCode
Subsets II
Click
here
for an explanation.