Frage im Vorstellungsgespräch bei Neya Systems

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