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

Answer: B. Insertion SortAnswer : B Explanation Insertion sort, as it should then work in linear way.

  1. A.

    Merge Sort

  2. B.

    Insertion Sort

  3. C.

    Quick Sort

  4. D.

    Heap Sort

Attempted by 337 students.

Show answer & explanation

Correct answer: B

Answer : B

Explanation

Insertion sort, as it should then work in linear way.

Explore the full course: Coding For Placement

Loading lesson…