Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ __init__
Method
__init__
traversals/binary_tree_traversals.py:15–18 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
13
14
class
TreeNode:
15
def
__init__(self, data):
16
self.data = data
17
self.right = None
18
self.left = None
19
20
21
def
build_tree():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected