If the array is already sorted, which of these algorithms will exhibit the…
2025
If the array is already sorted, which of these algorithms will exhibit the best performance
- A.
Merge Sort
- B.
Insertion Sort
- C.
Quick Sort
- D.
Heap Sort
Attempted by 163 students.
Show answer & explanation
Correct answer: B
Answer : B
Explanation
Insertion sort, as it should then work in linear way.