Recursion /
Memoization
»
Memoization is storing the result of a function call.
To memoize a function we create a cache dictionary.
Python lru_cache decorator automatically memoize function.
Only pure functions can be memoize.
What is memoization?
How can you implement memoization?
What is Python's built-in decorator for memoization?
What type of functions can be memoize?