Update README.md

This commit is contained in:
bt3gl 2023-08-08 16:21:55 -07:00 committed by GitHub
parent 09b98e3740
commit 4002609137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)