Search is an find an element from an Given data structure such as array or list. There are two types of search Algorithm.

  • Linear Search
  • Binary Search

What is a Linear Search Algorithm

Linear Search is an sequential Search algorithm in which It starts searching for an given element one end, traverse given list until given element is found

Linear Search is used for an small set of data and list of elements are not sorted