Leetcode 78. Subsets
Return the power set of a unique-element integer array by enumerating all 2^n subsets (typical solutions use backtracking/DFS or bitmask iteration), noting the exponential output is acceptable since n ≤ 10.
Asked at:
Microsoft
DocuSign
Amazon
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late June, 2026
DocuSign
Senior
Same as LeetCode 78 Subsets
Mid February, 2026
Microsoft
Mid-level
Mid November, 2025
Microsoft
Mid-level
Hello Interview Premium
Your account is free and you can post anonymously if you choose.