mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
This commit is contained in:
@ -67,8 +67,8 @@ class BinarySearchTree:
|
||||
|
||||
def preShow(self, curr_node):
|
||||
if curr_node != None:
|
||||
print(curr_node.getLabel())
|
||||
print ('\n')
|
||||
print(curr_node.getLabel(), end=" ")
|
||||
|
||||
self.preShow(curr_node.getLeft())
|
||||
self.preShow(curr_node.getRight())
|
||||
|
||||
|
Reference in New Issue
Block a user