Edit page

Linear search

Linear search or sequential search is a method for finding an element within a list. It sequentially checks each element of the list until a match is found or the whole list has been searched. (Source: Wikipedia)

Algorithm Visualization

Complexity

NameBestAverageWorstMemoryStableComments
Linear search1nn1Yes

References

  • Geeksforgeeks
  • Wikipedia
  • YouTube
  • Programiz
  • Hackerearth
  • Tutorialspoint