Examveda

In which case is a hash function with a high number of possible output values less effective?

A. When the hash table size is small.

B. When the hash table size is large.

C. When the hash table has a high load factor.

D. When collisions are rare.

Answer: Option A


This Question Belongs to Data Structure >> Hashing

Join The Discussion

Related Questions on Hashing

In hashing, what is a "collision"?

A. When two elements are stored in the same slot.

B. When a hash table exceeds its capacity.

C. When a hash function fails to produce a unique index.

D. When two keys hash to the same index.