Home Modern Forums ISRO

Consider a 13 element hash table for which f(key)=key mod 13 is used with integer keys. Assuming linear probing is used for collision resolution, at which location would the key 103 be inserted, if the keys 661, 182, 24 and 103 are inserted in that order?
(A) 0
(B) 1
(C) 11
(D) 12

Reply To:

Consider a 13 element hash table for which f(key)=key mod 13 is used with integer keys. Assuming linear probing is used for collision resolution, at which location would the key 103 be inserted, if the keys 661, 182, 24 and 103 are inserted in that order?
(A) 0
(B) 1
(C) 11
(D) 12

Up
0
Down
::

nan