Algorithms Every Programmer Should Know: Reservoir Sampling

332 points by timr

Read the article

Discussion on Hacker News