SUNY Geneseo Department of Computer Science


Analysis of Hashing with Chains

Tuesday, April 30

CSci 242, Spring 2013
Prof. Doug Baldwin

Return to List of Lectures

Previous Lecture

Questions?

Analysis of Hashing with Chains

Expected time for successful and unsuccessful searches

Hash table with varying distribution of chains across buckets and keys within chains

Hand out probability problem set

Backtracking

Hand out backtracking homework

Example: the n queens problem

4 queens on a chessboard so that none can attack another

Next

Develop a backtracking algorithm for the n queens problem

Randomized algorithms


Next Lecture