Important theory and notes related to trees
class Node():
def __init__(self, val = 0, left = None, right = None):
self.val = val
self.right = right
self.left = left
Important theory and notes related to trees
class Node():
def __init__(self, val = 0, left = None, right = None):
self.val = val
self.right = right
self.left = left