Solution Review: Merge Two Sorted Arrays
This review provides a detailed analysis of the different ways to solve the "Merge Two Sorted Arrays" challenge.
We'll cover the following...
We'll cover the following...
Solution #
Explanation
Start by creating a new array arr3 of size equal to the input array sizes (line 9). If the first array element is less than the second array element, then copy the first array element in arr3. Copy the second array element in the new array and increment both arrays, which is arr3 and the array from which the element is ...