← Goldman Sachs questions

100 Door puzzle

Filed under Goldman Sachs

There are 100 doors in a row, all initially closed. You make 100 passes by the doors. On the first pass, you visit every door and toggle it (if closed, open it; if open, close it). On the second pass…

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.