Skip to content

Commit 4d12ec8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6619743 commit 4d12ec8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sorts/tim_sort.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from typing import Any
22

3+
34
def binary_search(lst: list[Any], item: Any, start: int, end: int) -> int:
45
if start == end:
56
return start if lst[start] > item else start + 1

0 commit comments

Comments
 (0)