Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ getLeftMost
Function
getLeftMost
data_structures/binary tree/AVLtree.py:147–150 ·
view source on GitHub ↗
(root)
Source
from the content-addressed store, hash-verified
145
root = root.getright()
146
return
root.getdata()
147
def
getLeftMost(root):
148
while
root.getleft() is not None:
149
root = root.getleft()
150
return
root.getdata()
151
152
def
del_node(root,data):
153
if
root.getdata() == data:
Callers
1
del_node
Function · 0.85
Calls
2
getleft
Method · 0.80
getdata
Method · 0.80
Tested by
no test coverage detected