Hacker News new | ask | show | jobs
by hnfong 1732 days ago
The two heap method helps you maintain the current median given an incoming stream of “online” data, and technically is not “sorting”.

The original problem is probably more accurately described as “what if you have too much data to sort” though.