Find the maximum sum path in a given 2D matrix starting from the top-left corner (0, 0) to any cell in the last row. You can move only down or diagonally right (row+1, col) or (row+1, col+1).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.