Greedy Algorithm For Activity Selection