📜 WAYPOINT LESSON
Final-A: Grid Corridor
⭐ beginner⏳ 25 min read📍 Lesson 64 of 281
Final mock, problem A: classic grid DP. Target: solved within 25 minutes.
Chốt-A — Hành lang lưới. QHD lưới kinh điển: dp[i][j] = max(đến từ trên, từ trái) + ô hiện tại; biên là tổng tiền tố một hàng/cột. Near-miss bị chấm: khởi tạo biên sai (thiếu hàng/cột đầu).
Final-A. Classic grid DP: dp[i][j] = max(from top, from left) + current cell; the border is a one-row/column prefix sum. Graded near-miss: wrong border initialization.