java - what type of Data Structure to be used to store this type of data? -
this question has answer here:
i retrieving data database in format in key , value pair .
| soft drinks | bottled,lemon(19) | soft drinks | bottled,clear(20) | ice creams | cone,koolcool(21) | ice creams | stick,koolcool,sai,babasai(27)
please suggest ,is there data structure store type of data ??
the key duplicated cant use map .
you use multimap stores collection of entries each key.
Comments
Post a Comment