HashingDirect access · O(1) avg
8
slot 017
slot 142
slot 227
slot 365
slot 412
slot 5slot 6
31
slot 7•h(k) = k mod 8 · amber slots were placed there by linear probing after a collision · • = home slot of target
Target
55
Step
0/ 9
Result
…
Hashing with Separate Chaining
CSC-211 · Semester III · Data Structures and Algorithms
h(k) = k mod 8 · amber slots were placed there by linear probing after a collision · • = home slot of target
Target
55
Step
0/ 9
Result
…