Merge pull request #33 from akshaysharma096/master

edge test cases fixed for in_order
This commit is contained in:
Harshil 2016-09-26 17:18:24 +05:30 committed by GitHub
commit b56cb26a74

View File

@ -50,9 +50,9 @@ def pre_order(node):
def in_order(node): def in_order(node):
if not node: if not node:
return return
pre_order(node.left) in_order(node.left)
print(node.data, end=" ") print(node.data, end=" ")
pre_order(node.right) in_order(node.right)
def post_order(node): def post_order(node):