Exercise Lover

July 11, 2007

Problems 16-4

Filed under: Problem 16 — yuhanlyu @ 8:58 am

a.

b. O(n).

Problems 16-3

Filed under: Problem 16 — yuhanlyu @ 8:54 am

Solution wanted!

Problems 16-2

Filed under: Problem 16 — yuhanlyu @ 8:54 am

a. Run the shortest task first.

b. Run the shortest elapsed time first.

Problems 16-1

Filed under: Problem 16 — yuhanlyu @ 8:48 am

a. See reference.

b.

c.

d. Dynamic programming. Let c(i) be the optimal solution for i. Then the recursive formula is c(i) = min_j c(i-d_j) + 1.

Exercises 16.3-8

Filed under: 16.3 — yuhanlyu @ 8:42 am

Solution wanted!

Exercises 16.3-7

Filed under: 16.3 — yuhanlyu @ 8:42 am

Solution wanted!

Exercises 16.3-6

Filed under: 16.3 — yuhanlyu @ 8:42 am

Solution wanted!

Exercises 16.3-5

Filed under: 16.3 — yuhanlyu @ 8:41 am

Solution wanted!

Exercises 16.3-4

Filed under: 16.3 — yuhanlyu @ 8:41 am

Solution wanted!

Exercises 16.3-3

Filed under: 16.3 — yuhanlyu @ 8:40 am
Older Posts »

Blog at WordPress.com.