Mental Model
Linear search checks each item one by one, while binary search jumps to the middle and cuts the search area in half each time.
Analogy: Imagine looking for a name in a phone book. Linear search is like reading every name from start to end. Binary search is like opening the book in the middle, deciding which half to look next, and repeating.
Array: [1] -> [2] -> [3] -> [4] -> [5] -> [6] -> [7] -> null Linear Search: ↑ starts at first element Binary Search: ↑ starts at middle element