0
Memoization is an optimization technique, similar to caching. It works by storing the previous results of a function call and using those results the next time the function runs. It is especially useful in computation-heavy apps that repeat function calls on the same parameters.