Among Selection Sort, Insertion Sort, Mergesort, Quicksort, and Heapsort, which algorithm would you choose for the situation below? Only pick one algorithm.The simplicity of implementation should also be considered AFTER the consideration of speed, the number of assignment operation and the extra space requirement. Use the chart below for your considerations. A) The list has several hundred records. The records are quite long, but the keys are very short. B) The list has about 25,000 records. It is desirable to complete the sort as quickly as possible on the average, but it is also critical that the sort be completed quickly in every single case. C) The list has about 45,000 records, but it starts off only slightly out of order.
Among Selection Sort, Insertion Sort, Mergesort, Quicksort, and Heapsort, which
A) The list has several hundred records. The records are quite long, but the keys are very short.
B) The list has about 25,000 records. It is desirable to complete the sort as quickly as possible on the average, but it is also critical that the sort be completed quickly in every single case.
C) The list has about 45,000 records, but it starts off only slightly out of order.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images