In which case is Insertion Sort better than Quick Sort and Merge Sort?

2025

In which case is Insertion Sort better than Quick Sort and Merge Sort?

Answer: C. Small, nearly sorted, uses less memoryCorrect answer: Small, nearly sorted input where it uses less memory. Insertion Sort has low overhead and works very efficiently on small or nearly sorted…

  1. A.

    Large, random input

  2. B.

    Large input, needs stable sort

  3. C.

    Small, nearly sorted, uses less memory

  4. D.

    Sorting linked lists

  5. E.

    Parallel sorting of big data

Attempted by 374 students.

Show answer & explanation

Correct answer: C

Correct answer: Small, nearly sorted input where it uses less memory.

Insertion Sort has low overhead and works very efficiently on small or nearly sorted inputs. It is in-place, so it can be preferable when memory use and simple implementation matter.

Explore the full course: Ibps So It Prelims

Loading lesson…