...

/

DIY: Merge Sorted Arrays

DIY: Merge Sorted Arrays

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 merges the second array into the ...

Access this course and 1200+ top-rated courses and projects.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy