Block interview question

Coding questions involved using string manipulation and hashmap.