Skip to content

Glossary: Coding Interviews in Go

Bottom-up

Also written: bottom-up DP

Dynamic programming with no recursion: you fill a table starting from the smallest subproblem and work upward. `fewestTable` does this for bag counts.

Where the book teaches it

Related terms

Dynamic programming (DP)DP tableTop-down