Maximum Value of an Expression Read Along a Grid Path

Asked at Capital One · Coding & Leetcode-style Questions · Difficulty: Medium · Last asked Jan 19, 2026

You are given a grid whose cells hold digits and the operators `+` and `-`. Walk through the grid, moving only right or down, and read the cells you visit as an arithmetic expression. Find the largest value of any valid expression you can read this way.

Loading the problem…