Write a function to merge two arrays in ascending order
Answers
Answered by
4
Answer:=》》》
Enter the two short sorted arrays and combine them to obtain a large array. Program Output: If arrays are not sorted so you can sort them first and then use the above merge function, another method is to merge them and then sort the array. Two small arrays sorting will take less time than sorting a large array.
Answered by
15
HØLA!!!!
Answer:
=> Enter the two short sorted arrays and combine them to obtain a large array. Program Output: If arrays are not sorted so you can sort them first and then use the above merge function, another method is to merge them and then sort the array.
tHaNks!!❤️☺️✌
Similar questions