What is the time complexity of a recursive algorithm to compute the Fibonacci sequence?
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Asks for the running time of the direct recursive Fibonacci algorithm and how to improve it. Tests whether you can turn the call tree into a recurrence, give a tight bound, and explain what memoization or a bottom-up loop changes in time and space.