โ† Zoho questions

Matrix Rectangle Form and Sum

Filed under Zoho

Given a 2D matrix and two corner coordinates (r1, c1) and (r2, c2), extract the sub-rectangle and calculate the sum of its elements.

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 Zoho questions

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