Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
frmatias committed Jun 20, 2017
1 parent 8c9d949 commit da414d8
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions data_structures/Binary Tree/binary_seach_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,27 +75,3 @@ def preShow(self, curr_node):
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())

0 comments on commit da414d8

Please sign in to comment.