Hacker News new | past | comments | ask | show | jobs | submit login

Assuming a random distribution of quotes from the twitter stream, and assuming there isn't any control on repeats, how long can we expect to be able to recreate the movies (well, the portions with dialog) in gif form?



That would be the Coupon collector's problem [1]. Roughly, you should expect to go through O(n log n) quotes before you have seen them all.

[1] http://en.wikipedia.org/wiki/Coupon_collector's_problem


Awesome link, thanks! I love learning when stuff like this has a name.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: