Meta interview question

A scheduling problem using greedy algorithm.