Capital One Interview Question

Some kind of Hashmap problems