Amazon Interview Question

which collection is best suited in this case? explain why?

Interview Answer

Anonymous

Mar 21, 2013

I used hashmap. As data was like a key value pair.