Question: (15 Points) Given the number list, use MERGE SORT to sort these numbers. How many steps will it take to sort them, show the tree
(15 Points) Given the number list, use MERGE SORT to sort these numbers. How many steps will it take to sort them, show the tree and your results? You can use the pseudocode code given below: MERGE-SORT (A. p.r) 1 if pr 3 MERGE-SORT(A. p.q 38,27,43, 3,9,82, 10 q = L(p + r)/2] MERGE-SORT(4.g+1.F) MERGE(A, p. q.r)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
