← Goldman Sachs questions

Bubble sort, palindrome check and largest palindromic sequence

Filed under Goldman Sachs

Three tasks after a project discussion: implement bubble sort, check whether a string is a palindrome, and find the largest palindromic sequence in a large string. This reads the last task as the…

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.