← Goldman Sachs questions

Longest Palindromic Subsequence, External Sorting and Deadlock

Filed under Goldman Sachs

Given a string s, find the longest palindromic subsequence's length in s. Additionally, discuss external sorting, necessary conditions for deadlock in operating systems, and Java Garbage Collection…

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.