Linear Search

If this isn’t the one you are looking for, try the next

This is a rather basic searching algorithm, but it is actually useful in practice when you just need to find an element in an array — and you suspect the element is towards the beginning of the array (or just don’t want to think too hard)

Photo by Evgeni Tcherkasski on Unsplash

Difficulty: Beginner | Easy | Normal | Challenging