Skip to content

karankotz/Dynamic-Programming---Find-the-maximum-weight-Subset-of-the-Mutually-Compatible-Jobs.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Probem Statement

You are given a set of jobs. Each job j has a start time sj and finish time fj . It also has a weight vj . Two jobs are compatible, if they do not overlap. Goal is to find maximum weight subset of mutually compatible jobs. Run your program on the two inputs provided (You will get partial credit for running it on only one of them). You have to output the maximum weight - not the actual subset. Following is a toy example.

Input: Job Start Time (sj) Finish Time (fj) Weight (vj) A 1 2 50 B 3 5 30 C 6 19 100 D 2 100 200

Output: 250

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages