1.

Which of the following techniques offer better cache performance?(a) Quadratic probing(b) Linear probing(c) Double hashing(d) RehashingMy question is based upon Hash Tables topic in portion Hash Tables of Data Structures & Algorithms II got this question in quiz.

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.



Discussion

No Comment Found

Related InterviewSolutions