Search
⌘K
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
Amazon
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid February, 2026
Microsoft
Mid-level
Mid November, 2025
Microsoft
Mid-level
Mid September, 2025
Meta
Senior
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.