OPTION A
With uniform probability 1/6 ,it may go to any of the slot numbered 1 , 0 , 4, 5 {In any of these case it will end up in slot 1 , with linear probing.}
So, total probability = $\frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} = \frac{4}{6} = \frac{2}{3}$
2. map to 0 so goes to 1st means total prob=not map to 0 * map to 1st slot=5/6*1/6
Can u explain this ?
@ srestha goel
Here uniform probability is given so it may happen that element goes to exact position ie at 1 so how to account this thing into finding probability
64.3k questions
77.9k answers
244k comments
80.0k users