追问 1
Generalize: in a hash table with slots and random keys, what is the approximate probability of at least one collision? At what does this exceed ? How does this connect to the birthday attack in cryptography?
提交作答后加载提示与解析。
题目
Assume birthdays are uniformly distributed over 365 days (ignore leap years). (a) What is the exact probability that in a room of 23 people, at least two share a birthday? (b) Derive a simple approximation for the number of people needed so that the probability of a shared birthday exceeds . (c) A trading desk has 50 traders. A manager claims that having two traders share a birthday is 'a remarkable coincidence.' Is the manager correct? Compute the probability and comment.
解题计时
0:00
提交作答时记录,用于后续平均用时统计。
你的答案
a
b
c_probability
c_manager_correct
追问 1
Generalize: in a hash table with slots and random keys, what is the approximate probability of at least one collision? At what does this exceed ? How does this connect to the birthday attack in cryptography?
提交作答后加载提示与解析。