Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BeeBombshell/Python-DSA
/ deleteTree
Method
deleteTree
Tree Data Structure/binarytree.py:49–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
47
return
self._find(val, node.r)
48
49
def
deleteTree(self):
50
# garbage collector will do this for us.
51
self.root = None
52
53
#to print the tree
54
def
printTree(self):
Callers
1
binarytree.py
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected