3 ms·
There is a great article on engineering a whole bunch of increasingly good solutions the discrete random sampling problem. http://www.keithschwarz.com/darts-di
by robrenaud 12y ago
There is a great article on engineering a whole bunch of increasingly good solutions the discrete random sampling problem.
http://www.keithschwarz.com/darts-dice-coins/ http://www.keithschwarz.com/darts-dice-coins/
And the corresponding HN discussion.
https://news.ycombinator.com/item?id=3401510 https://news.ycombinator.com/item?id=3401510
- snogglethorpe 12y agoYeah that keithschwarz.com writeup is super readable and pleasant, with simple illustrations and figures that just leap out and practically explain everything themselves.... :]