Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fbc6602

Browse files
Update 39-2.py
Typo in comment
1 parent c5af14f commit fbc6602

File tree

1 file changed

+1
-1
lines changed
  • 4-non-linear-data-structures/ch12

1 file changed

+1
-1
lines changed

‎4-non-linear-data-structures/ch12/39-2.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def dfs(i):
1616
# 순환 구조이면 False
1717
if i in traced:
1818
return False
19-
# 이미 방문했던 노드이면 False
19+
# 이미 방문했던 노드이면 True
2020
if i in visited:
2121
return True
2222

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /