Booz Allen Hamilton interview question

Coding problem involving string matching and a hashmap