search

Linear Search

August 27, 2021
algorithm
go, algorithm, search

Linear Search is an algorithm used to find an element position in the collection. It compares each element to the searched value consecutively and returns the position when it is found.