38.0k views
2 votes
What is the consequence of not having a good hashing function?

1 Answer

2 votes

Answer:

A good hash function maps the key value pair with minimal collisions. When the hash function is not good there are frequent collisions in the mapping of the key value pair.

Collision means that if there is a key present in the container already with some value.If the hash function again maps the same key with different value at the same location in the container that previous key was present.

User Erkmene
by
5.7k points