← Goldman Sachs questions

Longest Palindromic Substring, Average Salary Puzzle & Infinite Line Moves

Filed under Goldman Sachs

Solve three distinct problems: Find the longest palindromic substring in a given string, calculate the average salary of a group without revealing individual salaries, and find the minimum moves to…

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.