Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ getheight
Function
getheight
data_structures/binary tree/AVLtree.py:55–58 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
53
return
54
55
def
getheight(node):
56
if
node is None:
57
return
0
58
return
node.getheight()
59
60
def
my_max(a,b):
61
if
a > b:
Callers
6
leftrotation
Function · 0.85
rightrotation
Function · 0.85
insert_node
Function · 0.85
del_node
Function · 0.85
getheight
Method · 0.85
test
Method · 0.85
Calls
1
getheight
Method · 0.45
Tested by
no test coverage detected