Recursion and Friends

This Is Where Memoization Comes In

Memoization is a technique used to help speed up programs by storing or caching expensive function calls. To simplify it, we are building a list of all our calls and making it easier to traverse since we immediately return an answer once we’ve gone over it.

Now to Introduce Tabulation

Tabulation is a systematic and logical representation of numeric data in rows and columns to facilitate comparison and statistical analysis. In simpler terms it organizes the data into a tabular form. This last one was introduced to us as another way we can go about

Jump into the code

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store