โ† Accolite questions

Maximum sum rectangle in a 2D array

Filed under Accolite

Find the maximum sum of a sub-rectangle within a given 2D matrix. A sub-rectangle is defined by any contiguous range of rows and columns.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Accolite questions

Collected from public candidate posts and coding forums. Updated Nov 2026.