TweakCode
Search lessons
Loading editor…
Test casesRun to compare output
Inputnums1 = [1,2,3,0,0,0], m = 3, nums2 = [2,5,6], n = 3
Expected[1,2,2,3,5,6]
Output—

More practice

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