← Google questions
CodingHardReported in a candidate post, Jul 2021

Vertical max sum in a matrix

Filed under Google

Find the maximum sum of a vertical path through a 2D matrix from top to bottom, where moving horizontally between columns incurs a cost or penalty.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.