Merge Sorted Array: the skills you need first
Updated
LeetCode · easy · arrays. Write from the end so you do not clobber unread values in nums1.
Skills this problem builds on
Stuck on Merge Sorted Array? It is usually one of these. Get each one solid and the solution stops being a trick.
- Merge two sorted arrays
- Merge into extra capacity
- Choose smaller current element
check which ones you have 10 minutes, free, no account.