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

You can use the median of medians with quickselect to guarantee the O(N) time complexity.


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

Search: