3 ms·
> generate a list of random tweets, without duplication. Considering there are somewhere over 1 trillion tweets (over 200 billion/year), this is a very easy pr
by amgin3 11y ago
> generate a list of random tweets, without duplication.
Considering there are somewhere over 1 trillion tweets (over 200 billion/year), this is a very easy problem, you do not even have to check for duplicates because the chance of getting a duplicate is so small it would be statistically unlikely to ever happen.
- kardos 11y agoYou're making the assumption that the requested list is quite short. It should be straightforward to show that the probability of a duplicate grows with the requested list length.