Domanda di colloquio di Casella Waste Systems

Simple algorithm problem involving a supply chain.