 |
|
Assignment 3
|
Due: Monday, April 29th
Write up solutions to each of the following problems:
- Problem 3-1(a) and (b) (pp. 57-58 in CLRS).
- Problem 3-3(a) (p. 58 in CLRS).
- Solve the following recurrence relations. This means finding a closed form and then
expressing that in Q-notation.
- T(n) = T(n-1) + 2; T(1) = 2
- T(n) = T(n-1) + n2; T(1) = 1
- T(n) = 2T(n/2) + n2; T(1) = 1
- Problem 4-2 (p. 85 in CLRS).


