Capital One interview question

Best data structures to handle certain data