Question: a. (10 pts) Apply merge sort to the list E, X, A, M, P, L, E in alphabetical order. Draw the corresponding figure. Write down

a. (10 pts) Apply merge sort to the list E, X, A, M, P, L, E in alphabetical order. Draw the corresponding figure. Write down the changes in each step.

b. (10 pts) Apply quick sort to the list 9,7,5,1,3,6,2,8,4 in increasing order. Trace and write down the changes in each step. Do no forget to indicate the pivot that you have selected.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!