Pergunta de entrevista da empresa Neya Systems

It was an algorithm question from leet code based on hash maps