Memoization is a top-down cache inside a function; classic caching is often external and time-based; DP is the bottom-up equivalent.
Memoization is a top-down cache inside a function; classic caching is often external and time-based; DP is the bottom-up equivalent.