Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
__test__ Add linear search. May 25, 2018
README.md Add Jump Search algorithm. Jul 18, 2018
linearSearch.js Add Jump Search algorithm. Jul 18, 2018

README.md

Linear Search

In computer science, linear search or sequential search is a method for finding a target value within a list. It sequentially checks each element of the list for the target value until a match is found or until all the elements have been searched. Linear search runs in at worst linear time and makes at most n comparisons, where n is the length of the list.

Linear Search

Complexity

Time Complexity: O(n) - since in worst case we're checking each element exactly once.

References

You can’t perform that action at this time.