Skip to content

Commit 4cb1146

Browse files
committed
No newline at the end of the file sorts/flash_sort.py.
1 parent e6e020e commit 4cb1146

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sorts/flash_sort.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
from __future__ import annotations
1313
from collections.abc import Callable
1414

15-
1615
class FlashSort:
17-
def __init__(self, arr: list[int], n_classes: int, sort_key: Callable[[int], int] = lambda x: x):
16+
def __init__(self, arr: list[int], n_classes: int,
17+
sort_key: Callable[[int], int] = lambda x: x):
18+
1819
self.arr = arr
1920
self.n = len(arr)
2021
self.n_classes = n_classes
@@ -97,4 +98,3 @@ def flash_sort(self) -> None:
9798
sorter = FlashSort(unsorted, n_classes=5)
9899
sorter.flash_sort()
99100
print(unsorted)
100-

0 commit comments

Comments
 (0)