mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update README.md
This commit is contained in:
parent
09b98e3740
commit
4002609137
@ -182,7 +182,7 @@ def dfs(graph, v, discovered):
|
|||||||
print(v, end=' ')
|
print(v, end=' ')
|
||||||
|
|
||||||
for u in graph.adj_list[v]:
|
for u in graph.adj_list[v]:
|
||||||
if not discovered[u]: #
|
if not discovered[u]:
|
||||||
dfs(graph, u, discovered)
|
dfs(graph, u, discovered)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user