The problem, in one line. Trips each carry some riders from a pickup stop to a drop stop along one road. Say whether one car of a given capacity can serve them all without ever holding too many. LeetCode 1094.
The tell. Intervals that each add load, and a question about the peak. Add at the start, subtract at the end, sweep once along the road, and test every running value.