Suppose that we have a set of activities to schedule among a large number of lecture halls, where any activity can take place in
any lecture hall. We wish to schedule all the activities using as few lecture halls as possible. Give an efficient greedy algorithm to determine which activity should use which lecture hall.