← Flipkart questions

Largest submatrix with sum less than k

Filed under Flipkart

Given a 2D matrix of integers and an integer k, find the area (or number of elements) of the largest submatrix whose sum is less than or equal to k.

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

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