Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Picking a random element from a stream (geomblog.blogspot.com)
2 points by javanix on Dec 21, 2011 | hide | past | favorite | 1 comment


Here's a link to the Stack Overflow question I found this from.

Pretty cool algorithm!

http://stackoverflow.com/questions/2532218/pick-random-prope...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: