Block Interview Question

String manipulation, graph problem, hashmap.