a.
b. O(n).
Solution wanted!
a. Run the shortest task first.
b. Run the shortest elapsed time first.
a. See reference.
b.
c.
d. Dynamic programming. Let c(i) be the optimal solution for i. Then the recursive formula is .
Blog at WordPress.com.