Given n jobs with starting times n[] and durations d[], print the maximum number of jobs that don't overlap with each other.

Given n jobs with starting times n[] and durations d[], print the maximum number of jobs that don't overlap with each other.

From the Combined Bank Assistant Programmer (CSE) March 2021 – Preliminary exam, question 81 of 86.

More from this paper