Lecture 26

Learning objectives

After this class, you should be able to:

  1. Given a hash function, the hash table size, and a sequence of insertions and deletions, draw the state of open-addressed (if a collision resolution strategy too is given) or chained hash tables after the operations are complete.
  2. Derive the worst case and expected case time complexities for hash table insertion, search, and deletion.

Reading assignment

  1. Section 10.2.2 (excluding coalesced hashing), 10.2.3 (excluding the strategy demonstrated in fig. 10.10d), class notes.

Exercises and review questions


Last modified: 10 Apr 2008