MediumBacktrackingNeetCode 150 · #71/150
Subsets
- 1Learn the pattern
Choose → explore → unchoose. Prune early and sort input when duplicates exist.
- 2Trace your version
Paste your solution into the workspace and watch every step execute.
Open workspace - 3