Hash Functions Homework Help
Hash Functions perform two separate functions:
- Convert the string to a key.
- Constrain the key to a positive value less than the size of the table.
The best strategy is to keep the two functions separate so that there is only one part to change if the size of the table changes.