Introduction - If you have any usage issues, please Google them yourself
Let undirected graph G with n vertices e edges, G to write algorithms to establish the adjacency table, and depth-first search in accordance with the output vertex requires time complexity of the algorithm is O (n+e), and in addition to the space occupied by the adjacent multi-table itself outside only O (1) auxiliary space.