Skip to content

Commit

Permalink
Update dfs_stack.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dremdeveloper authored Oct 2, 2023
1 parent 2cdea4b commit bb51076
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Algorithm_with_DataStructure/dfs_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def dfs(graph, start_node):
visited[node] = True;
print(node)
for adj_node in graph[node]: # 인접한 노드 방문
if not visited[adj_node]:
stack.append(adj_node)


Expand Down

0 comments on commit bb51076

Please sign in to comment.