CarGurus interview question

Find path in a graph.