Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 7, 2023
1 parent cd6aa28 commit e42a519
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sorts/tree_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ def tree_sort(arr):
>>> tree_sort([5, -4, 9, 2, 7])
[-4, 2, 5, 7, 9]
>>> tree_sort([5, 6, 1, -1, 4, 37, 2, 7])
[-1, 1, 2, 4, 5, 6, 7, 37]
"""
# Build BST
if len(arr) == 0:
Expand All @@ -65,4 +65,3 @@ def tree_sort(arr):
import doctest

doctest.testmod()

0 comments on commit e42a519

Please sign in to comment.