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

More practice

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