Recognize the pattern
When should you use two pointers?
Look for sorted arrays, mirrored comparisons, in-place transformations, or pair optimization. The key is monotonic information: after each comparison, one pointer can move while safely eliminating several candidates.