Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ getRightMost
Function
getRightMost
data_structures/binary tree/AVLtree.py:143–146 ·
view source on GitHub ↗
(root)
Source
from the content-addressed store, hash-verified
141
return
node
142
143
def
getRightMost(root):
144
while
root.getright() is not None:
145
root = root.getright()
146
return
root.getdata()
147
def
getLeftMost(root):
148
while
root.getleft() is not None:
149
root = root.getleft()
Callers
nothing calls this directly
Calls
2
getright
Method · 0.80
getdata
Method · 0.80
Tested by
no test coverage detected