another possibility for binary trees with traversals for generators

This commit is contained in:
Mari Wahl 2015-01-10 16:29:05 -05:00
parent c3cb3f1c1b
commit cc8f1099d6
2 changed files with 127 additions and 1 deletions

View file

@ -6,7 +6,6 @@ __author__ = "bt3"
class Node(object):
def __init__(self, item=None,):
self.item = item
self.left = None
self.right = None