Blog Posts

...on the world of engineering

Coming soon

Leetcode: Merge sorted array

2 min read
#engineering, #interview

(given) two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively. (goal) Merge nums1 and nums2 into a single array sorted in non-decreasing order.

  • algorithm
  • rust