Merge two sorted array
You're given two sorted arrays array1[] and array2[] of sizes x and y.
After the sorting complete array1[] has first x elements sorted and array2[] has last y elements sorted. First, print array1[] and array2[] then create a new array3[] and concatenate them.
Merge two sorted array
You're given two sorted arrays array1[] and array2[] of sizes x and y.