Skip to content

Glossary: Coding Interviews in Java

Overlapping subproblems

The same smaller question coming up again and again, such as the fewest bags for 28 lb being reached by several routes. This is the signal that dynamic programming will help.

Where the book teaches it

Related terms

SubproblemDynamic programming (DP)Memo