title: Why is this a greedy algorithm?
body: <p>I have this question in my text book:</p>
  
  <p>" 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. "</p>
  
  <p>And the answer is given here: 
  <a href="http://mitpress.mit.edu/algorithms/solutions/chap16-solutions.pdf" rel="noreferrer">http://mitpress.mit.edu/algorithms/solutions/chap16-solutions.pdf</a> </p>
  
  <p>(the firs solution)</p>
  
  <p>And my answer is, why is the algorithm a greedy algorithm?</p>
  
  <p>I think that it is because it makes the (greedy?) choice that you always take an activity and put it into a lecture hall, where there already is one or more activities (if possible), instead of putting the activity into a new empty lecture hall. But I am not sure. :)</p>