← Goldman Sachs questions
CodingReported in a candidate post, Oct 2025

Max value path in a 2D grid moving diagonally up, diagonally down or right

Filed under Goldman Sachs

Given an m x n grid of non-negative values, start at any cell in the first column and move column by column: each move goes right (same row), diagonally up or diagonally down into the next column…

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 Goldman Sachs questions

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