Which one of the following correctly determines the solution of the recurrence relation with T(1) = 1? T(n) = 2T ((n)/(2) ) + log n
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2014 Set 2 · Q13
Time
Select one answerSingle correct
Solution
Official answer: A) (n)
Asymptotic AnalysisGiven the recurrence relation:
Applying the Master Theorem for divide-and-conquer recurrences of the form :
, , and
Comparing $f(n)$ with $n^{\log_b a}$:
for any (e.g., ).
This falls under Case 1 of the Master Theorem, which gives:
Thus, option (A) is correct.
Try the question first, then check your work.
Examiner trap
Apply the Master Theorem by comparing with .
This Asymptotic Analysis previous year question is Q13 of the GATE CSE 2014 Set 2 paper. Find more GATE CSE PYQs on Asymptotic Analysis in Algorithms, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Asymptotic Analysis PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Asymptotic Analysis has 31 GATE CSE PYQs across 19 papers from 2011 to 2026. 15 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2014 Set 2.
How GATE tests Asymptotic AnalysisIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.