A Hash Function f is defined as f(key) = key mod 7. With linear probing, while…

ISRO Scientist/Engineer SC 2016

A Hash Function f is defined as f(key) = key mod 7. With linear probing, while inserting the keys 37, 38, 72, 48, 98, 11, 56 into a table indexed from 0, in which location the key 11 will be stored (Count table index 0 as 0thlocation)?

  1. A.

    3

  2. B.

    4

  3. C.

    5

  4. D.

    6

Attempted by 624 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…