Computer Science 331 — Hash Tables

A Hash Table

Hash Tables

Overview

Hash tables are also data structures that can be used to implement finite sets and mappings. Their worst-case performance is not very good, and their analysis is complicated — but they work extremely well in practice (especially when used to represent a set or mapping that does not change very much) and they can be proved to have very good “expected” performance under certain assumptions.

Lecture #13: Hash Tables — Part One

Required Reading

Lecture Presentation

Reading Exercise #3: Hash Functions — Static Hashing

Lecture #14: Hash Tables — Part Two

Required Reading

Lecture Presentation

Reading Exercise #4: Hash Tables with Open Addressing

Tutorial #12: Hash Tables


University of Calgary Extension of Logo
Department of Computer Science

cpsc 331 computer science faculty of science u of c

cpsc 331 introduction and math review analysis of algorithms basic data structures and adts search trees hash tables searching and sorting graph problems and algorithms assignments tests java development exercises