Hash Tables on Data Structure and Algorithms related Questions and Answers


Question :   What is the hash function used in the division method?
1. h(k) = k/m
2. h(k) = k mod m
3. h(k) = m/k
4. h(k) = m mod k
Answer :   2 - h(k) = k mod m  

* 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