GATE Computer ScienceVery hardGATE CS · ISRO

Jobs given as (start, finish, profit): (1,4,5), (3,5,1), (0,6,8), (4,7,4), (3,9,6), (5,9,3), (6,10,2), (8,11,4). A job may start exactly when another finishes. What is the maximum total profit of a set of non-overlapping jobs?

  1. A. 11
  2. B. 15
  3. C. 17
  4. D. 13

Correct answer: D. 13

Weighted interval scheduling DP over finish-sorted jobs gives 13.

More Algorithms questions

Exams that ask this topic