Examveda

When is it appropriate to use direct addressing?

A. When the array is comparatively large

B. When the universe U of keys is reasonably small

C. When the universe U of keys is reasonably large

D. When the array is comparatively small

Answer: Option B


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.