From 447fdfa06bccc84daa3d2c19dc57b7e86a07eff0 Mon Sep 17 00:00:00 2001 From: patrickchen <40965427+opatrickchen@users.noreply.github.com> Date: Fri, 12 Feb 2021 11:30:55 -0700 Subject: [PATCH] correct the spelling --- python/15_bsearch/bsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: