by ColinWright · 13y ago · 0 comments
Placing only 23 keys into a hash table with 365 entries with
a perfectly random hash function will probably result in at
least one collision.
No, it won't "probably" result in at least one collision, it will result in at least one collision with probability about 1/2. As quoted elsewhere, placing k objects in a hash table with N entries will result in no collisions with probability about exp(-(k^2)/(2N)). Probably: almost certainly; as far as one knows or can tell
I would guess waynecochran thought something similar.The answers were:
* 80%
* 50% to 90%
* 90%
* > 80%
* 80%
* 80% to 90%
From an Information Theory point of view, 50% probability means zero information, and 25%/75% probabilities mean one bit of information against/in-favor-of the event. This sounds roughly consistent with the results of the poll, with people assigning higher probabilities implying higher information density of the evidence.