All Categories
2-D Dynamic Programming
Two-variable DP for grids and strings.
Grid paths, string comparison, interval DP.
Key Concepts
Grid DP
dp[i][j] = paths to cell
String DP
Compare substrings with 2D table
Two-variable DP for grids and strings.
Grid paths, string comparison, interval DP.
dp[i][j] = paths to cell
Compare substrings with 2D table