Extend DP across two dimensions — grids, strings, and sequences compared pairwise.
The same DP idea as 1-D, but the state depends on two indices — often two positions in a grid, or a position in each of two sequences being compared.
Blind 75 (2):
More from Blind 150 (9):