in Algorithms retagged by
524 views
0 votes
0 votes

Answer given is Option A , but here we wil first sort the jobs in order of profit , for each value of deadline scan linearly in the array depending on the value of deadline , so it should take O(n^2) in worst case .

in Algorithms retagged by
524 views

4 Comments

@srestha , cpu quanta is 1 unit , deadline is tk right ? Becoz it is already mentioned that the job should be started of before tk .
0
0
@navneet can u provide the link
0
0

Please log in or register to answer this question.

Related questions