fixed error

This commit is contained in:
Francisco Matias 2017-06-20 04:43:00 -03:00
parent 8c9d9498b5
commit da414d89d9

View File

@ -75,27 +75,3 @@ class BinarySearchTree:
def getRoot(self):
return self.root
'''
Example
8
/ \
3 10
/ \ \
1 6 14
/ \ /
4 7 13
'''
t = BinarySearchTree()
t.insert(8)
t.insert(3)
t.insert(1)
t.insert(6)
t.insert(4)
t.insert(7)
t.insert(10)
t.insert(14)
t.insert(13)
t.preShow(t.getRoot())