Figure 2 shows this same maze using the depth-first search visualization method. The maze remains the same, except that the lines connecting the nodes of the path found using the DFS is highlighted in green instead of yellow. It should be noted that subsequent runs of this method (and the depth-first search spectrum of solutions for this problem only) will return different results each time, since the DFS function simply selects a path to take at random at each juncture.