1.

What is the advantage of a hash table as a data structure?(a) faster access of data(b) easy to implement(c) very efficient for less number of entries(d) exhibit good locality of referenceMy enquiry is from Hash Tables topic in chapter Hash Tables of Data Structures & Algorithms IThe question was asked in homework.

Answer»

Right CHOICE is (a) faster access of data

Explanation: Hash table is a data structure that has an advantage that it allows fast access of ELEMENTS. Hash functions are used to DETERMINE the INDEX of any input RECORD in a hash table.



Discussion

No Comment Found

Related InterviewSolutions