In the telephone directory problem of Segment 20.7, 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 read File for various implementations of the dictionary? b. Would it matter whether the file was in reverse alphabetical order?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here