Interval scheduling with K machines

Revision en1, by iLoveIOI, 2020-05-15 12:30:08

How do I solve the interval scheduling problem but instead with k machines, meaning I can put the intervals in K different sets such that in each of the sets none of the intervals overlap and I want the maximum total interval, in O(nlogn) time or less.

Thanks!

Tags maybegreedy

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English iLoveIOI 2020-05-15 12:30:08 298 Initial revision (published)