Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ TreeNode
Class
TreeNode
searches/binary_tree_traversal.py:10–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
9
10
class
TreeNode:
11
def
__init__(self, data):
12
self.data = data
13
self.right = None
14
self.left = None
15
16
17
def
build_tree() -> TreeNode:
Callers
1
build_tree
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected