Meta Interview Question

A scheduling problem using greedy algorithm.