What is the time complexity of Merge Sort in the worst case ?

2025

What is the time complexity of Merge Sort in the worst case ?

  1. A.

    O(n)

  2. B.

    O(n log n)

  3. C.

    O(n2)

  4. D.

    O(log n)

Attempted by 155 students.

Show answer & explanation

Correct answer: B

Merge Sort worst-case time complexity is O(n log n). It divides the array recursively and merges results, requiring more operations than a single pass.

Explore the full course: Tpsc Assistant Technical Officer