Pregunta de entrevista de Booz Allen Hamilton

Coding problem involving string matching and a hashmap