Skip to content

Commit 58ad165

Browse files
Update searches/binary_search.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b405928 commit 58ad165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

searches/binary_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def binary_search_with_duplicates(sorted_collection: list[int], item: int) -> li
252252
253253
The collection must be sorted in ascending order; otherwise the result will be
254254
unpredictable. If the target appears multiple times, this function returns a
255-
list of **all** indexes where the target occurs. If the target is not found,
255+
list of all indexes where the target occurs. If the target is not found,
256256
it returns an empty list.
257257
258258
:param sorted_collection: some ascending sorted collection with comparable items

0 commit comments

Comments
 (0)