TikTok interview question

Find subsets of an integer array with distinct elements. Leetcode Subsets problem.