What is the time complexity of the following recursive function?
Int Do Something (int n) {
return 1;
else
return (Do Something (floor sqrt (n))) + n);
Reveal answer
Fill a bubble to check yourself
What is the time complexity of the following recursive function?
Int Do Something (int n) {
return 1;
else
return (Do Something (floor sqrt (n))) + n);