Consider the following array. Which algorithm out of the following options…
2025
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 ?
Answer: C. Insertion sort
- A.
Selection sort
- B.
Merge sort
- C.
Insertion sort
- D.
Quicksort using the last element as pivot
Attempted by 344 students.
Show answer & explanation
Correct answer: C
Loading lesson…