Preprocess cumulative sums for O(1) range queries. Foundational for subarray sum and 2D grid problems.