Meta Interview Question

String manipulation, graph connections