"Define a table size and a reasonable hash function for the following problem. We need to store and retrieve Human Resource objects for up to 1000 employees using the SSN (nine-digit integer) as the key."
I don't remember him going over stuff like this so I am kinda lost. Help is needed! Thanks in advance guys.
HashTable <Integer> hashtable = new HashTable <Integer>(1500);
I don't even know how to define a hash function. I know what a hash function is but not how to define one. Help please!
This post has been edited by mattlyons: 07 April 2010 - 08:18 PM

New Topic/Question
Reply



MultiQuote







|