Which of the following sorting algorithms is not suitable for large arrays?

2025

Which of the following sorting algorithms is not suitable for large arrays?

  1. A.

    Quick sort

  2. B.

    Merge sort

  3. C.

    Bubble sort

  4. D.

    Heap sort

Attempted by 177 students.

Show answer & explanation

Correct answer: C

Bubble sort has worst-case and average complexity of O(n²), where n is the number of items being sorted, making it inefficient on large lists.

Explore the full course: Coding For Placement