a. The use of the table p[j] is to check for compatibility of job j-1 and job j. b. OPT(p[j]) is a recursive call our algorithm makes in order to compute the optimum. c. OPT(p[j]) is guaranteed to be computed before OPT(j). d. All the above

icon
Related questions
Question

Dynamic Programming : Select the correct option : 

a. The use of the table p[j] is to check for compatibility of job j-1 and job j.
b. OPT(p[j]) is a recursive call our algorithm makes in order to compute the optimum.
c. OPT(p[j]) is guaranteed to be computed before OPT(j).
d. All the above
Transcribed Image Text:a. The use of the table p[j] is to check for compatibility of job j-1 and job j. b. OPT(p[j]) is a recursive call our algorithm makes in order to compute the optimum. c. OPT(p[j]) is guaranteed to be computed before OPT(j). d. All the above
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer