Question d’entretien chez Deutsche Bank

Two problems using a hash table, one using a greedy approach.