Question
Data Science and Artificial Intelligence Question on Hashing
Consider performing uniform hashing on an open address hash table with load factor α=mn<1, where n elements are stored in the table with m slots. The n m expected number of probes in an unsuccessful search is at most 1−α1
Inserting an element in this hash table requires at most ______ probes, on average.
A
ln(1−α1)
B
1−α1
C
1+2α
D
1+α1
Answer
1−α1
Explanation
Solution
The correct option is (B) : 1−α1.