Solveeit Logo

Question

Data Science and Artificial Intelligence Question on Hashing

Consider performing uniform hashing on an open address hash table with load factor α=nm<1α = \frac{n}{m}< 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 11α\frac{1}{1-\alpha}
Inserting an element in this hash table requires at most ______ probes, on average.

A

ln(11α)\text{ln}(\frac{1}{1-\alpha})

B

11α\frac{1}{1-\alpha}

C

1+α21+\frac{\alpha}{2}

D

11+α\frac{1}{1+\alpha}

Answer

11α\frac{1}{1-\alpha}

Explanation

Solution

The correct option is (B) : 11α\frac{1}{1-\alpha}.