Capital One interview question

OOD design question involving nested hashmaps