Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/15_bsearch/bsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down