2D Dynamic Programming

Solving optimization problems using a two-dimensional state space.