mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Optimized recursive_bubble_sort (#2410)
* optimized recursive_bubble_sort * Fixed doctest error due whitespace * reduce loop times for optimization * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -109,7 +109,7 @@ def right_rotation(node):
|
||||
|
||||
def left_rotation(node):
|
||||
"""
|
||||
a mirror symmetry rotation of the left_rotation
|
||||
a mirror symmetry rotation of the left_rotation
|
||||
"""
|
||||
print("right rotation node:", node.get_data())
|
||||
ret = node.get_right()
|
||||
|
Reference in New Issue
Block a user