Depth first search of a graph

Sign in to test your solution.