Pregunta de entrevista de UBS

HashMap programming question in java