Question:medium

Which of the following is true about a good hash function?

Show Hint

A perfect hash function (one with zero collisions) is rarely possible in practice. Thus, a "good" function focuses on "Simple Uniform Hashing," where any given key is equally likely to hash into any of the $m$ slots.
Updated On: Jul 4, 2026
  • It always produces the same hash value for different keys.
  • It distributes keys uniformly across the hash table.
  • It always results in hash collisions.
  • It requires storing all keys in contiguous memory locations.
Show Solution

The Correct Option is B

Solution and Explanation

Was this answer helpful?
0