Question: Suppose your algorithm for sorting an array is to divide it in half, perform selection sort on each half, and then merge the two halves

Suppose your algorithm for sorting an array is to divide it in half, perform selection sort on each half, and then merge the two halves together. What can be said about the performance of this algorithm for large arrays?
Question 26Select one:
a.
The algorithm is the same order as the selection sort
b.
The algorithm is the same order as the merge sort
c.
The algorithm performs as the average of the two sorts
d.
The algorithm is slower than either of the two sorts by themselves

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!