Linear search and binary search
A linear search checks the elements one by one and stops at the first match, so it can take all n looks, while binary search needs sorted data and looks at the middle first, throwing away half of what's left each time, so it takes about log n looks.
From AP Computer Science A.