A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. The running time of the following algorithm Procedure A(n)

If n < = 2 return (1)
else return (A(Image not present√nImage not present));

is best described by :
a. O(n)
b. O(log n)
c. O(log Log n)
d. O(1)
Answer:O(log Log n)
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: