1. Create an array arr3[] of size n1 + n2.
2. Simultaneously traverse arr1[] and arr2[].
Pick smaller of current elements in arr1[] and arr2[], copy this smaller element to next position in
arr3[] and move ahead in arr3[] and the array whose element is picked.
3. If there are remaining elements in arr1[] or arr2[], copy them also in arr3[].
Q2.1. Implement the above approach
Q2.2. calculate its time complexity
Answers
Answered by
0
Answer:
can't understand the question
sry if u didnot like my answer
Explanation:
plz send the picture of the question so that i could understand it
Similar questions