Search
⌘K

Leetcode 1011. Capacity To Ship Packages Within D Days

Find the minimum ship capacity such that the weights array can be partitioned (in order) into at most D contiguous daily loads whose sums do not exceed that capacity — a monotonic feasibility problem typically solved by binary searching the capacity.

Asked at:

Meta


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Late April, 2025

Meta

Staff

Mid April, 2025

Meta

Staff

Mid March, 2025

Meta

Staff

Comments

Your account is free and you can post anonymously if you choose.