Skip to content

Glossary: Algorithms Beyond the Basics in Java

memoization

Also written: memo, memoize, memo map

Saving each answer in a map the first time you work it out, so a repeated call is just a lookup. Java has no `@cache`, so you keep the memo yourself.

Where the book teaches it

Related terms

top-downoverlapping subproblemsdynamic programming