Answered step by step
Verified Expert Solution
Question
1 Approved Answer
sort the tow array in data structure like : int array1[ ] ={3,4,6,7,9,30,11,15,17,19,22,29} , and int array2={22,30,35,60,10,12,15,20} , and second make a method call merge
sort the tow array in data structure like :
int array1[ ] ={3,4,6,7,9,30,11,15,17,19,22,29} , and int array2={22,30,35,60,10,12,15,20} ,
and second make a method call merge like :
void merge(int []A, int p, int q , int r) {} that merging the tow arrays
the output will be like that :
the first array: 3 4 6 7 9 11 15 17 19 22 29 30
the second array: 10 12 15 20 22 30 35 60
the code in c++ please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started