โ† Goldman Sachs questions

Code to crash an Operating System

Filed under Goldman Sachs

The question

Write a snippet of code intended to crash an OS. The interviewer's expected solution involved calling calloc in an infinite loop.

No write-up yet. Related questions below have one.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.