Casella Waste Systems interview question

Simple algorithm problem involving a supply chain.