GATEverse Practice, past papers & mock tests
GATE 2005
AlgorithmsGreedy MethodmediumMCQ1 mark
We are given 9 tasks T1, T2... T9 with execution time 1 unit each. Task profits and deadlines (Pi, di) are: T1:(15,7), T2:(20,2), T3:(30,5), T4:(18,7), T5:(18,4), T6:(10,2), T7:(23,3), T8:(16,1), T9:(25,4). What is the maximum profit earned?
Save your progress

Related Algorithms PYQs