Approach hintTry it first, then revealHide
Fill nums1 from the back: compare the largest remaining elements of the two arrays and place the larger one at the last free position. Writing backwards never overwrites an unread element.
Fill nums1 from the back: compare the largest remaining elements of the two arrays and place the larger one at the last free position. Writing backwards never overwrites an unread element.