Question

What is the space complexity of a recursive implementation of Fibonacci (without memoization) to compute the nth Fibonacci number, considering the call stack?

A O(1)
B O(n)
C O(2^n)
D O(log n)
E O(n²)
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)