paragm78
asked on
Data structure to store a contact list
Hello,
I have to use some data structure to store a contact list ie a list of names and the corresponding phone numbers.
What would be the most suitable data structure ?
I have been thinking about a SortedMap, Set, vector etc ...
My main operations on this contact list would be to update it from another Master contact list.
Thanks !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
Basically, I have 2 versions of this data ( Name and Phone number) .
I have to periodically (once a day) synchronize these 2 versions so that both are consistent with each other.
Hence , I want a suitable data structure.