ISRO 2016 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0096

Consider the following recurrence: \(T(n)=2T\left ( \sqrt{n}\right )+1, T(1)=1\) Which one of the following is true?
  1. A
    \(T(n)=\Theta (\log\log n)\)
  2. B
    \(T(n)=\Theta (\log n)\)
  3. C
    \(T(n)=\Theta (\sqrt{n})\)
  4. D
    \(T(n)=\Theta (n)\)

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

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1829/gate2006-51-isro2016-34

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