Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BeeBombshell/Python-DSA
/ __init__
Method
__init__
Sorting Algorithms/tree_sort.py:3–6 ·
view source on GitHub ↗
(self, val)
Source
from the content-addressed store, hash-verified
1
class
node():
2
# BST data structure
3
def
__init__(self, val):
4
self.val = val
5
self.left = None
6
self.right = None
7
8
def
insert(self,val):
9
if
self.val:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected