Greedy Algorithms
One room, many meetings, and they overlap. Fit in as many as possible. The bars are the meetings, sorted by when they END — and that sort is the entire algorithm.
step 01/14
- comparing
- in final place
- found it
One room, many meetings, and they overlap. Fit in as many as possible. The bars are the meetings, sorted by when they END — and that sort is the entire algorithm.
step 01/14