Merge nums2 into nums1 (size m+n) in-place. Fill from the back so you don't overwrite.
Input
3 3 1 2 3 2 5 6
Output
1 2 2 3 5 6
1 0 1
1