Which of the following variant of a hash table has the best cache performance?

Như Quỳnh

New member
Which of the following variant of a hash table has the best cache performance?
A. hash table using a linked list for separate chaining
B. hash table using binary search tree for separate chaining
C. hash table using open addressing
D. hash table using a doubly linked list for separate chaining
 
Answer: c
Explanation: Implementation of the hash table using open addressing has a better cache performance as compared to separate chaining. It is because open addressing stores data in the same table without using any extra space.
 

Tìm kiếm

Back
Top