We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4540207 commit c7e0a0aCopy full SHA for c7e0a0a
14장_트리_순회/3_transversal_BST_ancestor.py
@@ -24,7 +24,7 @@ def find_ancestor(path, low_value, high_value):
24
for i in l:
25
bst.add_node(i)
26
path = bst.preorder()
27
- print("중위 순회: ", path)
+ print("전위 순회: ", path)
28
29
print("1과 6의 공통 상위 조상 :", find_ancestor(path, 1, 6))
30
print("1과 11의 공통 상위 조상: ", find_ancestor(path, 1, 11))
0 commit comments