Skip to content
Leetcode
Esc
↑↓navigate↵open⌘Jpreview

Multi-D / Grid DP

The result for each state is stored in a table with two or more dimensions, and each cell is computed from its neighbors.

Last updated on September 24, 2026

Was this page helpful?