A
Alan T
I have pairs of data:
peter - manager
mary - secretary
john - accountant
alan - security
What data structure is suitable for storing these data pairs so that I can
get the counterpart ?
If I have peter then I want to know he is a manager.
peter - manager
mary - secretary
john - accountant
alan - security
What data structure is suitable for storing these data pairs so that I can
get the counterpart ?
If I have peter then I want to know he is a manager.