Johnson & Johnson interview question

Graph Traversal and string manipulation