+1 vote
in Data Structures & Algorithms I by (88.2k points)
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 complexity

Enquiry is from Direct Addressing Tables topic in division Hash Tables of Data Structures & Algorithms I

I had been asked this question in an internship interview.

1 Answer

+1 vote
by (672k points)
selected by
 
Best 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...