Answer on Question #57044 – Math – Statistics and Probability
A hash table has space for 75 records, then the probability of collision before the table is 6% full.
Solution
To make the table 6% full, we need to insert at least round up to 5 values.
- Probability of collision during first insertion is 0
- Probability of collision during second insertion is
- Probability of collision during third insertion is
- Probability of collision during fourth insertion is
- Probability of collision during fifth insertion is
- Probability of collision during sixth insertion is
So, total probability of collision to make the table 6% full is
Answer: 0.2.
www.AssignmentExpert.com
Comments