diff --git a/python/15_bsearch/bsearch.py b/python/15_bsearch/bsearch.py index dc091b29..ffa7487d 100644 --- a/python/15_bsearch/bsearch.py +++ b/python/15_bsearch/bsearch.py @@ -7,7 +7,7 @@ def bsearch(nums: List[int], target: int) -> int: """Binary search of a target in a sorted array without duplicates. If such a target does not exist, - return -1, othewise, return its index. + return -1, otherwise, return its index. """ low, high = 0, len(nums) - 1 while low <= high: