Difference between revisions of "Linear Search"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "Linear search is a very simple search algorithm. In this type of search, a sequential search is made over all items one by one. Every item is checked and if a match is found t...")
(No difference)

Revision as of 12:52, 28 December 2016

Linear search is a very simple search algorithm. In this type of search, a sequential search is made over all items one by one. Every item is checked and if a match is found then that particular item is returned, otherwise the search continues till the end of the data collection.