Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Don't use Hadoop when your data isn't that big. Parent comment
An O(n) algorithm is Quick select. It is basically like quick sort but you only recurse on the side of the pivot that contains the median.
http://en.wikipedia.org/wiki/Quickselect
There are no comments on this comment yet.
An O(n) algorithm is Quick select. It is basically like quick sort but you only recurse on the side of the pivot that contains the median.
http://en.wikipedia.org/wiki/Quickselect