The document discusses greedy algorithms for interval scheduling problems. It describes the interval scheduling problem of finding the maximum set of mutually compatible jobs that do not overlap in time. It presents the greedy algorithm of considering jobs in order of finishing time and scheduling each job if it is compatible with previously scheduled jobs. The algorithm runs in O(n log n) time and is proven to be optimal. The document also covers the related interval partitioning problem of scheduling lectures to minimize the number of classrooms needed.