Problem
1. Suppose a programmer has a bug in his double-hashing code so that one of the hash functions always returns the same value (not 0). Describe what happens in each situation (when the first one is wrong and when the second one is wrong).
2. What hash function should be used if it is known in advance that the key values fall into a relatively small range?