Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ Node
Class
Node
data_structures/binary_tree/binary_tree_traversals.py:10–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
# https://en.wikipedia.org/wiki/Tree_traversal
9
@dataclass
10
class
Node:
11
data: int
12
left: Node | None = None
13
right: Node | None = None
14
15
16
def
make_tree() -> Node | None:
Callers
1
make_tree
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected