← Goldman Sachs questions
CodingMedium

Stolen Value, Right Tree View, and Sorted Matrix

Filed under Goldman Sachs

Solve three problems: 1) House Robber (max stolen value without adjacent houses), 2) Binary Tree Right Side View, and 3) Search in a row-wise and column-wise sorted 2D matrix.

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.