Examveda

In which case is the division method hash function less effective?

A. When using quadratic probing.

B. When the hash function is very complex.

C. When the table size is not a prime number.

D. When the table size is a prime number.

Answer: Option C


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.