Which of the following is the correct asymptotic notation for the worst-case…

2025

Which of the following is the correct asymptotic notation for the worst-case time complexity of Merge Sort ?

  1. A.

    O(n)

  2. B.

    O(n log n)

  3. C.

    O(n2)

  4. D.

    O(log n)

Attempted by 133 students.

Show answer & explanation

Correct answer: B

Merge Sort worst-case time complexity is O(n log n).

Explore the full course: Tpsc Assistant Technical Officer