Untitled
unknown
python
2 years ago
171 B
5
Indexable
# Node class representing a node in a binary tree class Node: def __init__(self, val): self.value = val self.left = None self.right = None
Editor 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