Linear search

easy

The only search that assumes nothing about the data - which is why it is still the right answer for a linked list, a stream, or twenty items.

Best O(1)Average O(n)Worst O(n)Space O(1)
Loading the linear search engine…

Where to go next