Consider the Fibonacci sequence. What is the optimal number of recursive calls required to compute the nth Fibonacci number using a naive recursive approach?
n^2
2^n
n
log n

Computer Science Exercises are loading ...