Consider a 13 element hash table for which f(key)=key mod 13 is used with…

ISRO Scientist/Engineer SC 2014

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?

  1. A.

    0

  2. B.

    1

  3. C.

    11

  4. D.

    12

Attempted by 472 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…