ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the space complexity of the recursive implementation used to find the nth fibonacci term?
Correct Answer: A — O(1)
The recursive implementation doesn't store any values and calculates every value from scratch. So, the space complexity is O(1).