Created
March 14, 2015 04:03
-
-
Save lettergram/caed8d8e6ab4387ea98e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
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