Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2371. Minimize Maximum Value in a Grid
Given an m×n grid of nonnegative integers and rules that let you redistribute values between neighboring cells, compute the smallest possible value of the largest cell after any sequence of legal transfers. This typically reduces to binary-searching the target maximum and running a greedy/feasibility scan (prefix-sum style) over the grid to test if that cap can be achieved.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.