Examveda

In which scenario would you prefer chaining over open addressing for collision resolution?

A. When insertions and deletions are infrequent.

B. When memory usage is a primary concern.

C. When the hash table is highly dynamic and frequently grows.

D. When the hash table is mostly static and does not grow.

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.