Capital One interview question

Data Structures using dictionary and simple if/else statements