mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-17 01:06:07 +00:00
Update the book based on the revised second edition (#1014)
* Revised the book * Update the book with the second revised edition * Revise base on the manuscript of the first edition
This commit is contained in:
@@ -21,7 +21,7 @@ func TestGraphDFS(t *testing.T) {
|
||||
fmt.Println("初始化后,图为:")
|
||||
graph.print()
|
||||
|
||||
/* 深度优先遍历 DFS */
|
||||
/* 深度优先遍历 */
|
||||
res := graphDFS(graph, vets[0])
|
||||
fmt.Println("深度优先遍历(DFS)顶点序列为:")
|
||||
PrintSlice(VetsToVals(res))
|
||||
|
||||
Reference in New Issue
Block a user