1 When a competitive programmer recognizes a dynamic programming problem, they have a framework with a defined state, transition, and base case.
“Define the state. Define the transition. Define the base case. The details change from problem to problem. The structure doesn't.”