In which of the following hash functions, do consecutive keys map to consecutive hash values?
Answers
Answered by
5
Answer:
A disadvantage of the division method id that consecutive keys map to consecutive hash values in the hash table. This leads to a poor performance. Multiplication Method. The hash function used for the multiplication
Answered by
1
The correct answer is the division method.
- The method of division is considered unfavorable because the hash table maps the consecutive keys to consecutive hash values.
- One of the disadvantages of the division method is that consecutive keys map to consecutive hash values in the hash table resulting in poor performance.
- This leads to poor efficiency.
- The other three methods are the Mid-square method, folding method, and multiplication method.
Hence, the right answer is Division Method.
#SPJ3
Similar questions