← Goldman Sachs questions

People Heights Order and Longest Increasing Subsequence in Binary Tree

Filed under Goldman Sachs

Part 1: Given heights of people and an array indicating the number of people taller/smaller in front of them, reconstruct the queue/order. Part 2: Find the Longest Increasing Subsequence (LIS) path…

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.