Available question text
You can repeatedly move one unit from any element to its immediate left neighbor; find the smallest possible value of the array's maximum after any number of such leftward transfers. Key insight: because mass only moves left, the answer equals the maximum (rounded up) prefix average across all prefixes, so scan prefixes or binary-search with a greedy check.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2439. Minimize Maximum of Array
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source