def __init__(self, e): self.height = 0 # New data field TreeNode.__init__(self, e)
def __init__(self, e): self.height = 0 # New data field TreeNode.__init__(self, e)
class AVLTreeNode(TreeNode): def__init__(self, e): self.height = 0 TreeNode.__init__(self, e)