[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-09 05:29:32 +00:00
parent 7bc4b3d320
commit 56f5433589

View File

@ -27,7 +27,7 @@ def search_range(nums: list[int], target: int) -> list[int]:
[1, 1]
"""
def binary_search(nums:list, target:int, left:bool) -> int:
def binary_search(nums: list, target: int, left: bool) -> int:
"""
>>> binary_search([1, 2, 3, 4, 5], 3, leftmost=True)
2