 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Hash
functions typically operate on search keys
|
|
|
that
are integers.
|
|
|
| • |
It
doesn't mean that you can't search for a
|
|
|
character
or for a string...but what it means is that
|
|
we
need to map our search keys to integers
|
|
|
before
performing the hashing operation. This
|
|
|
keeps
it as simple as possible
|
|
|
| • |
But,
be careful how you form the hash functions
|
|
|
|
– |
your
goal should be to keep the number of
|
|
|
collisions
to a minimum and avoid clustering
|
|
|
of
data
|
|