What is the time complexity of the following recursive function?
int DoSomething (int n)
{
if (n <= 2)
return 1;
else
return (DoSomething (floor (sqrt (n))) + n);
}- A\(\Theta (n^{2})\)
- B\(\Theta (n \log_{2} n)\)
- C\(\Theta (\log_{2} n)\)
- D\(\Theta (\log_{2} \log_{2} n)\)