+1 vote
in Data Structures & Algorithms I by (88.2k points)
Which of the following techniques offer better cache performance?

(a) Quadratic probing

(b) Linear probing

(c) Double hashing

(d) Rehashing

My question is based upon Hash Tables topic in portion Hash Tables of Data Structures & Algorithms I

I got this question in quiz.

1 Answer

+1 vote
by (672k points)
selected by
 
Best answer
Correct choice is (b) Linear probing

For explanation: Linear probing offers better cache performance than quadratic probing and also it preserves locality of reference.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...