0
A hash table uses the function h(k) = k mod 5 with separate chaining. The keys 12, 17, 22, 7, 3, 8 are inserted. What is the length of the longest chain?
- A3
- B5
- C4
- D6
Correct answer: C
A hash table uses the function h(k) = k mod 5 with separate chaining. The keys 12, 17, 22, 7, 3, 8 are inserted. What is the length of the longest chain?