I am trying to find a data structure that takes in a particular value from a range of values and map it to a key.
For example, I have the following conditions:
One of the way would be, use one of list implementation as value for key.
map.put("A", ArrayList<Integer>);