← Goldman Sachs questions
CodingReported in a candidate post, Nov 2019

Coin change ways and longest palindromic substring

Filed under Goldman Sachs

Two coding problems. (1) Coin change ways: given coin denominations (unlimited supply) and an amount, count the number of distinct combinations that make the amount. (2) Return the longest palindromic…

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.