| Signal in Problem | Try This Pattern |
|---|---|
| "Find pair that sums to X" | Hash map or two pointers (if sorted) |
| "Count occurrences" | Hash map frequency counting |
| "Longest subarray with condition" | Sliding window |
| "Find in sorted data" | Binary search |
| "Matching/nesting" | Stack |
| "Minimum needed to satisfy" | Binary search on answer |
| "Merge sorted inputs" | Two pointers |
| "Next greater/smaller element" | Monotonic stack |