Dynamic Programming

Tabulate overlapping subproblems for optimal answers.

1-D tables

A single dp array filled left to right.

2-D tables

A grid dp filled row by row, then traced back.

Checkpoint

A graded check on state, transition, order, and reconstruction.

Reference problems

27 imported reference solutions

Pattern Quest

Practice recognizing dynamic programming problem shapes.