Company: Imc_7aug
Difficulty: medium
Waste reduction Problem Description You work for a pharmaceutical company that produces liquid medicine. Patients requiring these medications often require different amounts. To package the medication for delivery, you can choose between different sets of containers. Each container set specifies the sizes of containers it allows. For example, set 1 might offer containers with size 300 ml and 200 ml, while set 2 might offer containers with size 400 ml, 250 ml and 100 ml. When fulfilling a customer order for a given amount, a single container must be used and filled completely. If a container does not exist that matches the required amount, the next largest container is used. The extra medication included in that larger container (i.e., the size of the container - required amount) is considered waste. Your job is to evaluate different sets of containers and identify the set of containers that will minimize the total waste for a given collection of orders. Return the zero-based index of t