Skip to content

Instantly share code, notes, and snippets.

@lettergram
Created March 14, 2015 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lettergram/caed8d8e6ab4387ea98e to your computer and use it in GitHub Desktop.
Save lettergram/caed8d8e6ab4387ea98e to your computer and use it in GitHub Desktop.
'''
In Order Traversal of the tree
'''
def InOrder(self, root):
if root is None:
pass
else:
self.InOrder(root.left)
print(root.data),
self.InOrder(root.right)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment