β
Correct Answer: (D)
exponential
Explanation: the recurrence relation is given by fibo(n) = fibo(n – 1) + fibo(n – 2). so, the time complexity is given by:
Explanation by: Mr. Dubey
the recurrence relation is given by fibo(n) = fibo(n – 1) + fibo(n – 2). so, the time complexity is given by:
Discussion
Question Analytics
779
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
89%
Success Rate