GATE CS 2014, set 2 · Question 23 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Which one of the following correctly determines the solution of the recurrence relation with T(1) = 1?
T(n) = 2T(n/2) + log n

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

Answer (A)

Answer from the official GATE CS 2014 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes