Algorithms | Analysis of Algorithms (Recurrences) | Question 7

Last Updated :
Discuss
Comments
The running time of the following algorithm
  Procedure A(n)  
  If n <= 2 return(1) else return A([Tex]\\lceil \\sqrt{n}  \\rceil[/Tex]);
is best described by
O(n)
O(log n)
O(1og log n)
O(1)
Share your thoughts in the comments