Four Live Buckets
A profiler stores object records keyed by their offset into a 4-byte-aligned arena, so every key is a multiple of 4. The table has buckets with h(k) = k mod 16 and separate chaining. You insert 200 records.
What is the expected chain length, and which fix restores an even spread?
Sign in to answer questions and track your progress
Sign In