TweakCode
Graphs lessons
Loading editor…
Test casesRun to compare output
Inputnums = [1,2,3]
Expected[[],[1],[1,2],[1,2,3],[1,3],[2],[2,3],[3]]
Output—

More practice

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