What is the difference between memoization and dynamic programming?
What is the difference between memoization and dynamic programming? I think dynamic programming is a subset of memoization. Is it right? What is difference between memoization and dynamic programming? Memoization is a term describing an optimization technique where you cache previously computed results, and return the cached result when the same computation is needed again. Dynamic programming is a technique for solving problems of recursive nature, iteratively and is applicable when the computations of the subproblems overlap. Dynamic programming is typically implemented using tabulation, but