Hash Tables on Data Structure and Algorithms related Questions and Answers


Question :   What is the hash function used in linear probing?
1. H(x)= key mod table size
2. H(x)= (key+ F(i2)) mod table size
3. H(x)= (key+ F(i)) mod table size
4. H(x)= X mod 17
Answer :   3 - H(x)= (key+ F(i)) mod table size  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter