Skip to content

Glossary: Coding Interviews in C++

Top-down

Also written: top-down DP

Dynamic programming written as recursion plus a memo: check the memo first and store each answer before returning. It follows naturally from the brute force.

Where the book teaches it

Related terms

MemoBottom-upCall stack