Memoization

This technique starts from the initial problem set, and divides it into small subproblems. After the solution to a subprogram has been determined, we store the result to that particular subproblem. In the future, when this subproblem is encountered, we only return its pre-computed result.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset