MCPcopy 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
81def my_max(a: int, b: int) -> int:
82 if a > b:
83 return a
84 return b
85
86
87def right_rotation(node: MyNode) -> MyNode:

Callers 4

right_rotationFunction · 0.85
left_rotationFunction · 0.85
insert_nodeFunction · 0.85
del_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected