There is a data structure called a bimap. You can access the elements by key 
and value and they are interlinked. Do a quick google on it. I think that's 
what you're looking for.


--
DK

http://twitter.com/divyekapoor
Http://www.divye.in

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/Vqlaqqm3ZzoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to