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
- (A) Θ(n)
- (B) Θ(n log n)
- (C) Θ(n²)
- (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