GATE CS 2014 · Set-2 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0108

Which one of the following correctly determines the solution of the recurrence relation with T(1) = 1? \(T(n)=2T(\frac{n}{2})+logn\)
  1. A
    \(\theta (n)\)
  2. B
    \(\theta (n logn)\)
  3. C
    \(\theta (n^{2})\)
  4. D
    \(\theta (log n)\)

Solve it on GATE DA practice →More Searching & Sorting Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1968/gate2014-2-13

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com