Merge pull request #138 from rafaelleru/master

working on #93
This commit is contained in:
Harshil
2017-10-19 09:35:45 +05:30
committed by GitHub
2 changed files with 124 additions and 75 deletions

View File

@@ -68,7 +68,7 @@ class BinarySearchTree:
return False
def preShow(self, curr_node):
if curr_node is None:
if curr_node is not None:
print(curr_node.getLabel(), end=" ")
self.preShow(curr_node.getLeft())