1.

What is the advantage of the hash table over a linked list?(a) faster access of data(b) easy to implement(c) very efficient for less number of entries(d) exhibit good locality of referenceThe query is from Hash Tables topic in division Hash Tables of Data Structures & Algorithms IThe question was posed to me during an internship interview.

Answer»

Right ANSWER is (a) faster access of data

Easy EXPLANATION - Hash table is a data STRUCTURE that has an advantage that it allows fast access of elements. But linked list is easier to IMPLEMENT as compared to the hash table.



Discussion

No Comment Found

Related InterviewSolutions