logo

Question detail

What is the time complexity of merge sort?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Sorting algorithms

Exam-style question

Try this first

What is the time complexity of merge sort?.

  1. A.O(n)
  2. B.O(log n)
  3. C.O(n log n)
  4. D.O(n²)

Model answer

What a good answer should say

  • O(n log n)

Explanation

Why this works

Merge sort has a time complexity of O(n log n).

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.