Untitled
unknown
python
3 years ago
171 B
8
Indexable
# Node class representing a node in a binary tree
class Node:
def __init__(self, val):
self.value = val
self.left = None
self.right = NoneEditor is loading...
# Node class representing a node in a binary tree
class Node:
def __init__(self, val):
self.value = val
self.left = None
self.right = None