Capital One Interview Question

Data Structures using dictionary and simple if/else statements