ARRAYS · CATEGORY
Pattern techniques that turn O(n²) brute force into O(n).
Precompute running totals for O(1) range sums.
Slide a fixed window for window aggregates.
Converge two indices on a sorted array.