Hash Tables
1. In double hashing, which of the following is a commonly used probe-position formula?
2. Which collision-resolution technique generally provides the largest variety of probe sequences because it uses a second hash function?
3. What is the main purpose of the second hash function in double hashing?
4. In the expression , what does represent?
5. Why should the second hash function in double hashing avoid producing a step size of zero?
6. What is a major advantage of double hashing over linear probing?
7. Suppose , , , and the current probe number is . What index is generated by double hashing?
8. Which condition is commonly desirable for the second hash function when the table size is ?
9. If two different keys have the same value but different values, what is a likely effect in double hashing?