Expected colliding pairs in a hash table
You hash files into a table of buckets, each file landing in a uniformly random bucket independently.
On average, how many pairs of files collide (land in the same bucket)?
You hash files into a table of buckets, each file landing in a uniformly random bucket independently.
On average, how many pairs of files collide (land in the same bucket)?