There was an error while loading. Please reload this page.
1 parent 6258663 commit ba96812Copy full SHA for ba96812
1 file changed
sorts/circle_sort.py
@@ -50,9 +50,7 @@ def circle_sort[T: Comparable](
50
if len(collection) < 2:
51
return collection
52
53
- def circle_sort_util(
54
- collection: MutableSequence[T], low: int, high: int
55
- ) -> bool:
+ def circle_sort_util(collection: MutableSequence[T], low: int, high: int) -> bool:
56
"""
57
>>> arr = [5,4,3,2,1]
58
>>> circle_sort_util(arr, 0, 2)
0 commit comments