Question: In the greedyScheduling / tests / directory you have four given input test cases. In each test case file the format is as follows: The

In the greedyScheduling/tests/ directory you have four given input test cases. In each test case file the format is as follows:
The first line is the number of jobs that needs to be scheduled. For example, "5" would mean there are five jobs {A,B,C,D,E} to be scheduled.
The second line is the maximum integer number of time periods available for scheduling. For example, "20" would mean that no jobs have an ending time greater than 20.
All subsequent lines contain a letter and two integer numbers. The letter is the name of the job ('A'). The first number is the beginning time of the job. The second number is the ending time of the job.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!