GATE CS 2026, set 2 · Question 30 · Algorithms · Numerical answer (NAT) · 1 mark · no negative marks

The keys 5, 28, 19, 15, 26, 33, 12, 17, 10 are inserted into a hash table using the hash function h(k) = k mod 9. The collisions are resolved by chaining. After all the keys are inserted, the length of the longest chain is ______. ( answer in integer )

Answer

Answer 3

Answer from the official GATE CS 2026 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes