Direction: We are given 9 tasks T1, T2, ....T9. The execution of each task requires one unit of time. We can execute one task at a time. Each task Ti has a profit Pi and deadline di. Profit Pi is earned if the task is completed before the end of the di th unit of time.
-
What is the maximum profit earned?
-
- 147
- 165
- 167
- 175
- 147
Correct Option: A
This is calculated by summing all the profits given in the table. This is
15 + 20 + 30 + 18 + 18 + 10 + 23 + 16 + 25 = 147
Therefore, the maximum profit is 147.