I understood the difference between multimap and map, but, in the practical case, I can't think of an application of it. can someone give me an example of when a multimap can be useful?
I don't understand the point of having duplicate keys inside the map. Has anyone used a multimap in their code? to do what? why did you use a multimap and not a map?
I repeat: I have no idea how to use this data structure
Thank you.