mirror of
https://github.com/krahets/hello-algo.git
synced 2026-05-12 19:47:33 +08: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:
@@ -22,7 +22,7 @@ func TestGraphBFS(t *testing.T) {
|
||||
fmt.Println("初始化后,图为:")
|
||||
graph.print()
|
||||
|
||||
/* 广度优先遍历 BFS */
|
||||
/* 广度优先遍历 */
|
||||
res := graphBFS(graph, vets[0])
|
||||
fmt.Println("广度优先遍历(BFS)顶点序列为:")
|
||||
PrintSlice(VetsToVals(res))
|
||||
|
||||
Reference in New Issue
Block a user