Question

What is the time complexity of the naive recursive algorithm that computes the n-th Fibonacci number using the relation fib(n) = fib(n-1) + fib(n-2), without memoization?

A O(n)
B O(log n)
C O(2^n)
D O(n log n)
E O(n^2)
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)