← Goldman Sachs questions

Maximum path sum in a matrix and unique triplets with given sum

Filed under Goldman Sachs

A HackerRank round with two medium problems: (1) find the maximum path sum in a matrix, and (2) find all unique triplets in an array that sum to a given value. The path rules for (1) were not…

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.