Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BeeBombshell/Python-DSA
/ Node
Class
Node
Tree Data Structure/binarytree.py:2–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#class made for node of tree
2
class
Node:
3
def
__init__(self, val):
4
self.l = None
5
self.r = None
6
self.v = val
7
#class made for tree
8
class
Tree:
9
def
__init__(self):
Callers
2
add
Method · 0.70
_add
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected