Consider the following recurrence:
\(T(n)=2T\left ( \sqrt{n}\right )+1, T(1)=1\)
Which one of the following is true?
- A\(T(n)=\Theta (\log\log n)\)
- B\(T(n)=\Theta (\log n)\)
- C\(T(n)=\Theta (\sqrt{n})\)
- D\(T(n)=\Theta (n)\)
Solve it on GATE DA practice →More Searching & Sorting Algorithms problems