mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
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…
Reference in New Issue
Block a user