Master the patterns. Defeat the algorithm.
Fundamental strategy for optimizing linear searches by coordinating two indices.