Examveda

What is the advantage of a hash table over BST?

A. hash table has a better average time complexity for performing insert, delete and search operations

B. hash table requires less space

C. range query is easy with hash table

D. easier to implement

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.