Skip to content
RED SAG Skills
medium10 pts · first answer countsstacks-and-queues

Running median with two heaps

To return the median of a growing stream of numbers in O(1) after each O(log n) insert, which design is standard?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions