Pergunta de entrevista da empresa Robi

Solve the algorithmic question about hashmap.