| 1 | Initialize | (0,0) | 1 | Start at top-left | [[1, _, _], [_, _, _], [_, _, _]] |
| 2 | Fill first row | (0,1) | 4 | Add left cell sum + current cell value (1+3) | [[1, 4, _], [_, _, _], [_, _, _]] |
| 3 | Fill first row | (0,2) | 5 | Add left cell sum + current cell value (4+1) | [[1, 4, 5], [_, _, _], [_, _, _]] |
| 4 | Fill first column | (1,0) | 2 | Add top cell sum + current cell value (1+1) | [[1, 4, 5], [2, _, _], [_, _, _]] |
| 5 | Fill first column | (2,0) | 6 | Add top cell sum + current cell value (2+4) | [[1, 4, 5], [2, _, _], [6, _, _]] |
| 6 | Fill cell | (1,1) | 7 | Min(top=4, left=2) + current cell (5) = 2+5=7 | [[1, 4, 5], [2, 7, _], [6, _, _]] |
| 7 | Fill cell | (1,2) | 6 | Min(top=5, left=7) + current cell (1) = 5+1=6 but left=7+1=8, choose 6 | [[1, 4, 5], [2, 7, 6], [6, _, _]] |
| 8 | Fill cell | (2,1) | 8 | Min(top=7, left=6) + current cell (2) = 6+2=8 | [[1, 4, 5], [2, 7, 6], [6, 8, _]] |
| 9 | Fill cell | (2,2) | 7 | Min(top=6, left=8) + current cell (1) = 6+1=7 | [[1, 4, 5], [2, 7, 6], [6, 8, 7]] |
| 10 | Result | (2,2) | 7 | Minimum path sum found at bottom-right | [[1, 4, 5], [2, 7, 6], [6, 8, 7]] |