Google interview question

Build a dictionary and map system for a common problem