Examveda

What is the use of a hash function?

A. to calculate and return the index of corresponding data

B. to store data

C. to erase data

D. to change data

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.