Minimum Time to Remove All Cars Containing Illegal Goods
Remove every car carrying illegal goods at the lowest total cost, using either the ends of the line or individual removals. The visual compares the cost of clearing from each side against removing cars in the middle.