LeetCode MEDIUM 1011 Capacity To Ship Packages Within D Days Summary
Generated by Codex with GPT-5
Quick facts
- Difficulty:
MEDIUM - Problem: Capacity To Ship Packages Within D Days
- Topics:
Array,Binary Search
Problem gist
There is a line of packages, each with a weight. A ship moves packages in the given order, and each day it can carry packages only until the total loaded weight reaches its capacity. The task is to find the smallest ship capacity that can move every package within days days.