Bed on your analysis what would be the most appropriate


Question:

(a) Based on the following scenario, describe one advantage and one disadvantage of each implementation of the ADT Table (using a binary search tree, ordered vector, or unordered vector). (Note that there is certainly more than one acceptable answer for this question.)
"Consider an implementation of the University of Waterloo staff telephone directory system as a dictionary. Given the high turnover of university staff and the unreliability of the telephone system, the addition and removal of persons to the dictionary is quite frequent and needs only occasional retrievals."

(b) Based on your analysis, what would be the most appropriate implementation of the three (a binary search tree, ordered vector, or unordered vector) for the given scenario? Explain your answer.

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Bed on your analysis what would be the most appropriate
Reference No:- TGS01258119

Now Priced at $20 (50% Discount)

Recommended (97%)

Rated (4.9/5)