Examveda

How can you improve the performance of a hash table?

A. By avoiding the use of chaining.

B. By using a less complex hash function.

C. By decreasing the size of the hash table.

D. By increasing the size of the hash table and using a good hash function.

Answer: Option D


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.