Consider a hash table with 10 slots. What is the sequence of the following…
BEL Probationary Engineer · 2023 · Computer Science · Technical
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
- A.
80, 46, 12, 93, 44, 23, 26, 57, 56, 36
- B.
80, 36, 12, 93, 44, 23, 26, 57, 56, 46
- C.
80, 36, 12, 93, 44, 23, 26, 56, 46, 57
- D.
12, 23, 26, 36, 44, 46, 56, 57, 80, 93
Attempted by 238 students.
Sign up free to check your answer
Sign up freeLoading lesson…