Codewinglet interview question

dictionary and nested dictionary related questions