0040. Combination Sum II

Backtracking with Duplicate Pruning — Interactive Animation

5x
Sorted Candidates
Remaining: -
Start Index: -
Current Index: -
Depth: -
Backtracking Tree

Current Path

Found Combinations

Execution Log

Step 0
Exploring
Chosen / Found
Duplicate Skipped
Pruned (exceeds target)
Backtrack