Question d’entretien chez UBS

HashMap programming question in java