1.

What is the advantage of using a dynamic set in direct addressing?(a) It saves time(b) It saves space(c) It saves both time and space(d) It reduces code complexityEnquiry is from Direct Addressing Tables topic in division Hash Tables of Data Structures & Algorithms II had been asked this question in an internship interview.

Answer»

The correct CHOICE is (b) It saves space

Explanation: Using a dynamic set, the size of the ARRAY is restricted to the number of keys, hence saves space. The complexity to implement dynamic array is LARGER than in NORMAL case.



Discussion

No Comment Found

Related InterviewSolutions