1.

What is direct addressing?(a) Distinct array position for every possible key(b) Fewer array positions than keys(c) Fewer keys than array positions(d) Same array position for all keysI want to ask this question from Hash Tables topic in section Hash Tables of Data Structures & Algorithms IThe question was posed to me by my college director while I was bunking the class.

Answer»

Correct option is (a) Distinct ARRAY position for EVERY possible KEY

To explain: Direct addressing is possible only when we can afford to allocate an array that has ONE position for every possible key.



Discussion

No Comment Found

Related InterviewSolutions