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

More practice

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