I was reading and I found this question , I do not know what is the right answer of it .. Here is the question :
Suppose you are implementing the address book feature for a cellphone. The address book needs to be kept sorted by person’s last name and support fast access when queried by last name. Which of the following data structures would be a good choice to use for storing the address book? Explain why. Which would be the bad choice and why?
(a) unsorted linked list
(b) sorted linked list
(c) binary search tree
(d) hash table
My answer is to use a hash table because it has key and value ... Is my answer correct ?
Thanks