We have a set of jobs J={a,b,c,d,e,f,g}. Let j in J be a job than its start at sj and ends at fj. Two jobs are compatible if they don't overlap. A picture as example:
The goal is to find the maximum subset of mutually compatible jobs. There are several greedy approaches for this problem:
Earli...