MCQ · 2 marks · Algorithm AnalysisGATE CS 2017 CS-2 — Q30Consider the recurrence functionT(n)={2T(n)+1,n>22,0<n≤2T(n) = \begin{cases} 2T(\sqrt{n}) + 1, & n > 2 \\ 2, & 0 < n \le 2 \end{cases}T(n)={2T(n)+1,2,n>20<n≤2Then T(n)T(n)T(n) in terms of Θ\ThetaΘ notation isSelect one optionA.Θ(loglogn)\Theta(\log \log n)Θ(loglogn)B.Θ(logn)\Theta(\log n)Θ(logn)C.Θ(n)\Theta(\sqrt{n})Θ(n)D.Θ(n)\Theta(n)Θ(n)Check answer