Back to Brain Tonic
AlgorithmshardBT-153
#153 Streaming Median Puzzle
You're receiving numbers one by one and must report the median of all numbers seen so far at any point. You have only O(log n) time per element. Is this possible?
You're receiving numbers one by one and must report the median of all numbers seen so far at any point. You have only O(log n) time per element. Is this possible?