1.

What is the advantage of hashing with chaining?(a) cache performance is good(b) uses less space(c) less sensitive to hash function(d) has a time complexity of O(n) in the worst caseThis key question is from Hash Tables in division Hash Tables of Data Structures & Algorithms IThe question was asked during an online interview.

Answer»

The correct CHOICE is (c) LESS sensitive to hash FUNCTION

Explanation: Hashing with separate chaining has an advantage that it is less sensitive to a hash function. It is also EASY to implement.



Discussion

No Comment Found

Related InterviewSolutions