40 Algorithms Every Programmer Should Know
上QQ阅读APP看书,第一时间看更新

The Performance of Linear Search

As discussed, linear search is a simple algorithm that performs an exhaustive search. Its worst-case behavior is O(N).