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

ISRO Scientist/Engineer SC · 2014 · Computer Science

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 413 students.

Show answer

Correct answer: B

The worked solution is available to enrolled students.

Video solution available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…