The problem, in one line. Packages must be shipped in the given order, a ship carries up to some capacity per day, and everything must go within d days. Return the smallest capacity that works. LeetCode 1011.
The tell. “The minimum capacity such that” it all ships in d days, and a bigger ship never hurts. Too small fails, big enough works, and one boundary sits between them.
Included with a plan
This solution is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.