DIY: Merge Sorted Arrays
Solve the interview question "Merge Sorted Arrays" yourself in this lesson.
We'll cover the following...
Problem statement
Let’s say you are given two sorted integer arrays, nums1
and nums2
. You are also given the number of elements initialized in both of the arrays, which are m
and n
, respectively. Implement a function that ...