Concept Flow - Unique Paths in Grid DP
Start at top-left cell
Initialize DP table with 1s in first row and column
For each cell (i,j) from (1,1) to (m-1,n-1)
Calculate dp[i
Repeat until bottom-right cell
Return dp[m-1
We fill a grid table where each cell counts paths from start by adding paths from top and left cells, starting with 1s on the first row and column.