Hash table: separate chaining
Keys that collide share a bucket and line up in a chain.
Keys15, 11, 27, 8, 12, 22, 4, 19size 7
A table of 7 buckets. Each key goes in bucket key mod 7.
- compare
- swap or write
- settled
Space play · ← → step · Home End jump · drag the strip to scrub