Problem [Category: Greedy Algorithms: Scheduling] There are customers are waiting for a service together (started to wait at the same time)_ The service time needed by Customer is ti, 1,2,3, Time starts at 0. If the service for Customer starts at time t, then the waiting time of Customer i is t. How to schedule the order of the customers in order to minimize the total waiting time (sum of each customer'$ waiting time)?
Give and describe a greedy algorithm to solve it. [10 points] 2. Suppose there are customers and the service time is {1,3,2,15,10,6,12} , respectively: Use your algo rithm to find a scheduling: [10 points]