GATEverse
← GATE CSE 2007

Q45

MCQ2 marks, −0.5

What is the time complexity\text{time complexity} of the following recursive function? int DoSomething (int n) { if (n <= 2) return 1; else return (DoSomething (floor (sqrt(n))) + n); }

Sign in to save attempts.

Loading…