Interview Query

Data Stream Median

2
Have you seen this question before?

Write a function get_stream_median to calculate the median from a stream of integers. 

The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two middle values.

Next question: Fill Rate Drop
.....
Python 3.9.6
Loading editor
Use Shift + Enter to run code