(1st) pages 278-281 (Section 7.5), pages 283-284 (Section 7.6)
(2nd) pages 365-368 (Section 8.6), pages 341-342 (Section 8.3)
Variables
hash-table: array of sequences of elements
invariant: hash-table[k] contains the elements
of the items in the dictionary with key k.
Initialization
for k
0, ..., K do
hash-table[k]
empty sequence
Algorithms
Give the algorithms for findElement, insertItem and removeElement.