MCPcopy 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
143def getRightMost(root):
144 while root.getright() is not None:
145 root = root.getright()
146 return root.getdata()
147def getLeftMost(root):
148 while root.getleft() is not None:
149 root = root.getleft()

Callers

nothing calls this directly

Calls 2

getrightMethod · 0.80
getdataMethod · 0.80

Tested by

no test coverage detected