← Adobe questions
CodingReported in a candidate post, Jul 2025

Median of a data stream

Filed under Adobe

Design a data structure that receives integers one at a time and can return the median of all numbers seen so far at any moment. Implement add(x) and median(). The reported solution used two priority…

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 Adobe questions

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