Introduction - If you have any usage issues, please Google them yourself
1, respectively, the adjacency matrix and adjacency list storage structure created map.
2, respectively, the graph depth-first traversal and breadth-first traversal.
3 Find the number of edges in the graph.
4 Find the vertex 0 to each of the remaining vertices graph shortest path.