Consider the recurrence function\[T(n)=\left\{\begin{matrix} 2T(\sqrt{n})+1, & n \gt 2\\ 2,& 0 \lt n\leq 2 \end{matrix}\right.\]Then T(n) in terms of \(\theta\) notation is
- A\(\theta (log log n)\)
- B\(\theta (logn)\)
- C\(\theta (\sqrt{n})\)
- D\(\theta (n)\)