gumgum's Garden🌼

Binary Tree Representation

A Tree which has only two child nodes

class Node():
    def __init__(self, val = 0, left = None, right = None):
        self.val = val
        self.right = right
        self.left = left