Leetcode 1463. Cherry Pickup II
Two robots start at the top-left and top-right of an rows×cols grid and simultaneously move down one row each step choosing left/stay/right (col-1/col/col+1), collecting cherries (counted once if both land on the same cell); compute the maximum cherries they can collect when both reach the bottom. The core challenge is maximizing combined reward over paired robot positions per row, typically solved with a DP over (row, col1, col2) under rows,cols ≤ 70.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Early August, 2026
Given triangular matrix find minimum sum from top row to bottom row. similar to cherry pickup ii
Hello Interview Premium
Your account is free and you can post anonymously if you choose.