← Flipkart questions
CodingReported in a candidate post, Jul 2025

Maintain the median of a long stream of numbers

Filed under Flipkart

Design a structure that receives numbers from a long stream one at a time and can return the median of all numbers seen so far at any instant.

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

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