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?

Answer: C. Bubble sortBubble 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.

  1. A.

    Quick sort

  2. B.

    Merge sort

  3. C.

    Bubble sort

  4. D.

    Heap sort

Attempted by 335 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

Loading lesson…