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