Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ set_left
Method
set_left
data_structures/binary_tree/avl_tree.py:65–66 ·
view source on GitHub ↗
(self, node: MyNode | None)
Source
from the content-addressed store, hash-verified
63
self.data = data
64
65
def
set_left(self, node: MyNode | None) -> None:
66
self.left = node
67
68
def
set_right(self, node: MyNode | None) -> None:
69
self.right = node
Callers
5
right_rotation
Function · 0.80
left_rotation
Function · 0.80
lr_rotation
Function · 0.80
insert_node
Function · 0.80
del_node
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected