fix: update the code comment (#386)

Co-authored-by: steak-zhuo <[email protected]>
This commit is contained in:
zhuoqinyue
2023-02-26 01:16:41 +08:00
committed by GitHub
co-authored by steak-zhuo
parent e500b19f5a
commit 037aaeeaa2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ if __name__ == "__main__":
print("\n初始化后,图为")
graph.print()
# 深度优先遍历 BFS
# 深度优先遍历 DFS
res = graph_dfs(graph, v[0])
print("\n深度优先遍历(DFS)顶点序列为")
print(vets_to_vals(res))