Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ __init__
Method
__init__
data_structures/binary_tree/avl_tree.py:279–280 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
277
""
"
278
279
def
__init__(self) -> None:
280
self.root: MyNode | None = None
281
282
def
get_height(self) -> int:
283
return
get_height(self.root)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected