Ask Question
29 November, 23:41

What is a perfect hashing function?

+2
Answers (1)
  1. 30 November, 02:29
    0
    First we understand what is hash function. A hash function is mostly used in Hashmaps. It maps different keys to a set of values. There may occur a case when we have same key but different values. This case is called collision. So we have to use different collision handling techniques that are open addressing and separate chaining.

    A perfect hash function maps key-value pair such that there are no collisions.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What is a perfect hashing function? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers