Longest Matrix Path with Previous-Step Momentum
CodingOnsiteSoftware EngineerReported Jul, 2026Medium Frequency
Company question banks are included with the Insider plan.
Start at any cell of a nonempty height grid and move up, down, left, or right without revisiting a cell. The first move may only go to an equal or lower height. Subsequently, the next height must be...