Question d’entretien chez Interactive Brokers

python coding question based on hashmap