In the telephone directory problem of Segment 19.9, suppose that the text file of names and telephone numbers is sorted by name.
a. What impact would this aspect of the file have on the efficiency of the method readFile for various implementations of the dictionary?
b. Would it matter whether the file was in reverse alphabetical order?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.