CSE 326: Data Structures Lecture #14 Whoa… Good Hash, Man

2/11/00


Click here to start


Table of Contents

CSE 326: Data Structures Lecture #14 Whoa… Good Hash, Man

Today’s Outline

Reminder: Dictionary ADT

Implementations So Far

Hash Table Goal

Hash Table Approach

Hash Table Dictionary Data Structure

Hash Table Terminology

Hash Table Code First Pass

A Good Hash Function…

Good Hash Function for Integers

Good Hash Function for Strings?

Making the String Hash Easy to Compute

Making the String Hash Cause Few Conflicts

Good Hashing: Multiplication Method

Good Hashing: Universal Hash Function

Universal Hash Function: Example

Universal Hash Function

Alternate Universal Hash Function

Alternate Universe Hash Function: Example

Universal Hash Function

Collisions

To Do

Coming Up

Author: Steve Wolfman

Email: owner-cse326@cs.washington.edu

Home Page: http://www.cs.washington.edu/326/

Download presentation source