A hash table implemented using an array contains 10 buckets and uses linear…

Kerala PSC Technical IT Posts 2023

A hash table implemented using an array contains 10 buckets and uses linear probing to resolve collisions. The key values are integers, and the hash function used is key % 10. If the values 100, 23, 45, 2, 13, 33 are inserted in the table, in what location would the key value 33 be inserted?

  1. A.

    3

  2. B.

    4

  3. C.

    5

  4. D.

    6

Attempted by 26 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…