Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: