[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-10-01 10:08:18 +00:00
parent e9779a2e45
commit 06fcd146bf

View File

@ -9,6 +9,7 @@ For manual testing run:
python cyclic_sort.py
"""
def cyclic_sort(nums: list) -> list:
"""
Sorts the input list in-place using the Cyclic Sort algorithm.
@ -44,6 +45,7 @@ def cyclic_sort(nums: list) -> list:
return nums
if __name__ == "__main__":
import doctest