Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ set_data
Method
set_data
data_structures/binary_tree/avl_tree.py:62–63 ·
view source on GitHub ↗
(self, data: Any)
Source
from the content-addressed store, hash-verified
60
return
self.height
61
62
def
set_data(self, data: Any) -> None:
63
self.data = data
64
65
def
set_left(self, node: MyNode | None) -> None:
66
self.left = node
Callers
1
del_node
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected