Hashing Assignment

Evaluation of Hashing functions for storing Social Security Numbers
In this assignment we will randomly generate SSNs and simulate storing them using hashing, resolving collisions using chaining.

This program is a contest. The object of your program is to create an efficient hash function for SSNs.
You will test your hash function by generating large lists of random SSNs.
Before beginning this assignment you should read this web page on resolving hash collisions using chaining.
I will test your program and compare your results with your classmates' results. The smallest average number of lookups using a load factor of .5 wins. This means it is absolutely critical that you count the number of lookups properly.




Top of this page   Top of page      Home page   Home page