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:
Amazon
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late March, 2026
Amazon
Mid-level
This was exact question that was asked for SDE II position at Amazon Madrid.
Late April, 2025
Meta
Staff
Mid March, 2025
Meta
Staff
Hello Interview Premium
Your account is free and you can post anonymously if you choose.