Back to Questions

Find Median from Data Stream

136.1K viewsAsked at IBM
Hard

Question Explain

Design a data structure that supports adding new integers and finding the median efficiently. Use two Heaps (Min-Heap and Max-Heap).

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Find Median from Data Stream - Interview Question