Skip to main content

Pattern 2: Grid Traversal Problems

The 2D Foundation Pattern: Move through 2D grid, build each cell from cells you've already visited (typically top/left). 20% of DP interview problems. Very visual and commonly tested.