Algorithms Every Programmer Should Know: Reservoir Sampling332 points by timrRead the articleDiscussion on Hacker News