Skip to content

Commit 6d49334

Browse files
feat: focus on sleep sort only
- Remove bubble_sort.py to focus on sleep sort implementation - Fix type hints: use built-in list instead of typing.List
1 parent 442a0e9 commit 6d49334

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sorts/sleep_sort.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import threading
22
import time
3-
from typing import List
43

5-
def sleep_sort(arr: List[int]) -> List[int]:
4+
def sleep_sort(arr: list[int]) -> list[int]:
65
"""
76
Sleep sort implementation - each element sleeps for n seconds then gets appended
87
"""

0 commit comments

Comments
 (0)