Available question text
Given a mountain height H and workers where assigning x units to worker i costs workerTimes[i] * x*(x+1)/2 seconds, allocate integer reductions summing to H to minimize the makespan (maximum worker time). The core challenge is distributing workload across machines with convex (quadratic) cost functions, typically solved by binary-searching the time and checking each worker's maximum reducible units under that time.
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 3296. Minimum Number of Seconds to Make Mountain Height Zero
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source