66. Consider double hashing of the form
h(k,i)=(h1 (k)+ih2 (k)) mod m
Where h1(k) = k mod m
h2(k)=1+(k mod n)
Where n=m-1and m=701
for k=123456, what is the difference between first and second probes in terms of slots?
h(k,i)=(h1 (k)+ih2 (k)) mod m
Where h1(k) = k mod m
h2(k)=1+(k mod n)
Where n=m-1and m=701
for k=123456, what is the difference between first and second probes in terms of slots?
ANS. C
Previous | Next |
UGC NET CS 2018 July - II Question 65 | UGC NET CS 2018 July - II Question 67 |
No comments:
Post a Comment