mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-31 06:33:44 +00:00
edge test cases fixed
This commit is contained in:
parent
2dcb85d581
commit
ada433b452
|
@ -50,9 +50,9 @@ def pre_order(node):
|
|||
def in_order(node):
|
||||
if not node:
|
||||
return
|
||||
pre_order(node.left)
|
||||
in_order(node.left)
|
||||
print(node.data, end=" ")
|
||||
pre_order(node.right)
|
||||
in_order(node.right)
|
||||
|
||||
|
||||
def post_order(node):
|
||||
|
|
Loading…
Reference in New Issue
Block a user