Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
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.
...
Asked at:OpenAI
More OpenAI interview questions
- Implement cd Commandmedium
- Top 5 Open AI System Design Questionshard
- Toy Language Type Inferencehard
- Guess Number with Feedback Delaymedium
- Best Grid Jumping Pathhard
- Design a Spreadsheet with Formula Supportmedium
- Design Fault-Tolerant Work Queuehard
- Design Layered Rectangle Boardmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.