Update linear_search.py (#1974)

* Update linear_search.py

Comment modified in line 17 as Sorting not required in Linear Search

* Update linear_search.py

Comment modified in line 17
This commit is contained in:
Himanshu Airan 2020-05-14 20:22:43 +05:30 committed by GitHub
parent 69171a9ac3
commit 48bb14d4b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ python linear_search.py
def linear_search(sequence, target):
"""Pure implementation of linear search algorithm in Python
:param sequence: some sorted collection with comparable items
:param sequence: a collection with comparable items (as sorted items not required in Linear Search)
:param target: item value to search
:return: index of found item or None if item is not found