Problems > Anti-Diagonal Sums > Editorial

Anti-Diagonal Sums — Solution & Editorial

Back to the Problem

Bucket each cell by i+j.

Complexity: O(NM)