ION Group interview question

Build a dictionary from Scratch