Pregunta de entrevista de Grasshopper

DFS (Depth-First Search) and another and string manipulation