Consider the following array. Which algorithm out of the following options…
PYQ GATE 2021
Consider the following array.

Which algorithm out of the following options uses the least number of comparisons (among the array elements) to sort the above array in ascending order ?
- A.
Selection sort
- B.
Merge sort
- C.
Insertion sort
- D.
Quicksort using the last element as pivot
Attempted by 638 students.
Sign up free to check your answer
Sign up freeLoading lesson…

