what would be the array immediately after 7th call to merge() when top down merge sort is used to sort 15 98 66 24 76 33 19 82 10 50 75 48
Answers
Answered by
37
Answer:
15 24 33 66 76 98 19 82 10 50 75 48
Answered by
19
Answer: 15 24 33 66 76 98 10 19 82 50 75 48
Explanation:
After 1st merge():
15 98 66 24 76 33 19 82 10 50 75 48
After 2nd merge():
15 66 98 24 76 33 19 82 10 50 75 48
After 3rd merge():
15 66 98 24 76 33 19 82 10 50 75 48
After 4th merge():
15 66 98 24 33 76 19 82 10 50 75 48
After 5th merge():
15 24 33 66 76 98 19 82 10 50 75 48
After 6th merge():
15 24 33 66 76 98 19 82 10 50 75 48
After 7th merge():
15 24 33 66 76 98 10 19 82 50 75 48
Similar questions