Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Vitter's reservoir sampling algorithm D: randomly selecting unique items. Parent comment
A MLCG will return numbers all over the place; sorting them will take an additional O(n log n) time.
A MLCG will return numbers all over the place; sorting them will take an additional O(n log n) time.