</>OfferRetriever
DashboardDiscuss
NEW

Summer Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

14

:

03

:

49

:

15

Get this deal
Back to Dashboard

Largest Subgrid

Medium

You are given a 2D grid of non-negative integers and a maximum sum constraint. Find the largest size of a square sub-grid such that all square sub-grids of that size have a sum less than or equal to the given maxSum.


...

OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCode
LEGAL
POPULAR COMPANIES
GoogleMetaAmazonMicrosoftNetflixStripeUberTikTokBrowse all companies →

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.