LeetCode 40: Combination Sum Ii — Step-by-Step Visual Trace
Medium — Backtracking | Array | Recursion | Combinatorics
The Problem
Find all unique combinations from a given array of candidates where each number can be used only once and the sum equals the target value.
Approach
Uses backtracking with duplicate...
blog.tracelit.dev1 min read