← Goldman Sachs questions

Median of a stream of integers

Filed under Goldman Sachs · Also reported at Sprinklr

Find the running median of a stream of integers: after each new number, report the median of all numbers seen so far. The round also included a design exercise in CoderPad covering classes, functions…

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.