Slug: arr-merge-01 · Paired reading: Chapter 15
Prompt
nums1 has length m + n: first m entries sorted, trailing n zeros
are buffer. nums2 is length n, sorted. Merge nums2 into nums1
in-place so nums1 is fully sorted. Fill from the back to avoid
clobbering unread values.