Consider a hash table with 10 slots. What is the sequence of the following…

BEL Probationary Engineer 2023

Consider a hash table with 10 slots. What is the sequence of the following elements in a hash table if the hash function is k mod 10 and the collision is resolved using linear probing? 44, 26, 12, 93, 80, 57, 56, 23, 46, 36

  1. A.

    80, 46, 12, 93, 44, 23, 26, 57, 56, 36

  2. B.

    80, 36, 12, 93, 44, 23, 26, 57, 56, 46

  3. C.

    80, 36, 12, 93, 44, 23, 26, 56, 46, 57

  4. D.

    12, 23, 26, 36, 44, 46, 56, 57, 80, 93

Attempted by 271 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…