Fixed typo in linear_search.py
The documentation comment said "binary search", not "linear search"
This commit is contained in:
parent
8e98649dc7
commit
7bdcd08996
@ -13,7 +13,7 @@ from __future__ import print_function
|
||||
|
||||
|
||||
def linear_search(sequence, target):
|
||||
"""Pure implementation of binary search algorithm in Python
|
||||
"""Pure implementation of linear search algorithm in Python
|
||||
|
||||
:param sequence: some sorted collection with comparable items
|
||||
:param target: item value to search
|
||||
|
Loading…
x
Reference in New Issue
Block a user