Algorithm Explorer Group 2

Fibonacci Numbers: Naive vs Memoized vs Bottom-Up DP

Compare the performance of computing the n-th Fibonacci number using: (i) Naive tree recursion, (ii) Memoized recursion, and (iii) Bottom-up Dynamic Programming.

* Note: Naive recursion is capped at n ≤ 30 to prevent exponential hang.