Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ my_max
Function
my_max
data_structures/binary_tree/avl_tree.py:81–84 ·
view source on GitHub ↗
(a: int, b: int)
Source
from the content-addressed store, hash-verified
79
80
81
def
my_max(a: int, b: int) -> int:
82
if
a > b:
83
return
a
84
return
b
85
86
87
def
right_rotation(node: MyNode) -> MyNode:
Callers
4
right_rotation
Function · 0.85
left_rotation
Function · 0.85
insert_node
Function · 0.85
del_node
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected