Skip to content

Commit 7bdcd08

Browse files
authored
Fixed typo in linear_search.py
The documentation comment said "binary search", not "linear search"
1 parent 8e98649 commit 7bdcd08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

searches/linear_search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
def linear_search(sequence, target):
16-
"""Pure implementation of binary search algorithm in Python
16+
"""Pure implementation of linear search algorithm in Python
1717
1818
:param sequence: some sorted collection with comparable items
1919
:param target: item value to search

0 commit comments

Comments
 (0)