Multi Value Dictionary

I recently was asked to implement a dictionary-like data structure that can store multiple values for a given key. The interface I was given is as follows. Since the precondition was that the values are unique for any given key, I decided to use a Dictionary where key is of type K and value is […]

Continue Reading