what data structure should I use for hash lookup as well as binary search?
- by zebraman
I am working on a school homework. I have a list of names. I want to be able to perform binary search on these names (find all names between a lower and upper bound) for first name as well as last name, and perform keyword searches as well (this will be accomplished using hashing.
For example, if I have the names
Garfield Cat
Snoopy Dog
…