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

More practice

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