...

/

Tabulating Fibonacci Numbers

Tabulating Fibonacci Numbers

Explore how tabulation can improve the efficiency of finding the nth Fibonacci number.

The tabulation approach is like filling up a table from the start. Let’s now find the nthn^{th} Fibonacci number using bottom-up tabulation. This approach uses iteration and can essentially be thought of as recursive in reverse.

Tabulated version

...