Picking a random element from a stream
Here's a link to the Stack Overflow question I found this from.
Pretty cool algorithm!
http://stackoverflow.com/questions/2532218/pick-random-prope...
Here's a link to the Stack Overflow question I found this from.
Pretty cool algorithm!
http://stackoverflow.com/questions/2532218/pick-random-prope...