Question: Q - 2 ) ( 2 0 pts . ) You are given an array of jobs where every job takes single ( i .
Q pts You are given an array of jobs where every job takes single ie
unit of time. Also, every job has a deadline ie latest time or date by which
something should be completed and an associated profit if the job is finished
before the deadline. Thus, the minimum possible deadline for any job is If
only one job can be scheduled at a time, the job sequencing problem is to
maximize total profit. Below is an example optimal solution for the given job
list:
Input: Five jobs with the following deadlines and profits
Output: The
maximum profit Job
sequence of jobs is
a pts Describe, in words, a greedy algorithm for the job sequencing
problem.
b pts Prove that your greedy choice is optimal eg proof by
contradiction
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
