Mental Model
Binary search quickly finds a value by cutting the search area in half each time, while linear search checks every item one by one.
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 and deciding which half to check next.
Array: [1] -> [3] -> [5] -> [7] -> [9] -> [11] -> [13] -> [15] -> null Linear Search: ↑ (start at first element) Binary Search: mid pointer starts in the middle
