MCPcopy 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()
147def getLeftMost(root):
148 while root.getleft() is not None:
149 root = root.getleft()
150 return root.getdata()
151
152def del_node(root,data):
153 if root.getdata() == data:

Callers 1

del_nodeFunction · 0.85

Calls 2

getleftMethod · 0.80
getdataMethod · 0.80

Tested by

no test coverage detected