Skip to content

Glossary: Coding Interviews in Java

Memo

Also written: memoization, memo map

A map that saves each subproblem's answer so it is calculated only once. In top-down DP you check it first and store every answer before returning.

Where the book teaches it

Related terms

Top-downDynamic programming (DP)