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

That doesn't really make sense to me at all. Don't sort it, just have it?

Is the storage restriction the point?




Yes. The goal is to find (or approximate) the median without storing all the elements. Instead, it approximates the median by finding the median of randomly selected samples from the elements.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: