Fade to Solo
Heap / Priority Queue

Find Median from Data Stream

NO NETHleetcode ↗

Problem

Design a structure that accepts numbers one at a time and can report the median of everything seen so far, at any point, efficiently.

NO NET00:00
no net — stays locked