Skip to content

Commit c7e0a0a

Browse files
committed
typo
1 parent 4540207 commit c7e0a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

14장_트리_순회/3_transversal_BST_ancestor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def find_ancestor(path, low_value, high_value):
2424
for i in l:
2525
bst.add_node(i)
2626
path = bst.preorder()
27-
print("중위 순회: ", path)
27+
print("전위 순회: ", path)
2828

2929
print("1과 6의 공통 상위 조상 :", find_ancestor(path, 1, 6))
3030
print("1과 11의 공통 상위 조상: ", find_ancestor(path, 1, 11))

0 commit comments

Comments
 (0)