Domanda di colloquio di Deliveroo

Simple Hashmap dictionary question to maintain the counts