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.
Glossary: Coding Interviews in Java
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.