TweakCode
Graphs lessons
Loading editor…
Test casesRun to compare output
Input
candidates = [2,3,6,7], target = 7
Output
—
Expected
[[2,2,3],[7]]

More practice

Same technique, different problems. Try them without the walkthrough.