UMBC CMSC441, Design & Analysis of Algorithms, Fall 2003, Section 0201
Homework Assignments
- Problem 3-3, page 58.
Note: You may skip the functions involving lg* n.
- Exercise 16.1-4, page 379.
- Exercise 4.1-2, page 67.
- Prove using the substitution method that the recurrence relation
T(n) = 4 T(n/2) + n2 log n
is O( (n log n)2).
- Exercise 4.2-3, page 72.
Note: Since the question asks for a tight
asymptotic bound, you must find an upper and a lower bound on
T(n) and you must verify both the upper and lower bounds by
substitution.
- Problem 4-1, page 85, parts b, d, f & g.
- Exercise 6.5-7, page 142.
- Problem 6-3, parts a-e, page 143.
Optional: Problem 6-3, part f, page 144.
- Problem 7-4, page 162.
- Problem 8-3, page 179.
- Problem 8-4, page 179.
- Exercise 9.3-8, page 193.
- Problem 7-3 parts a-c, page 161-162.
- Exercise 9.3-9, page 193.
- Exercise 11.3-1, page .
- Exercise 22.2-6, page 539.
Note: you must argue why your algorithm produces
a correct result.
- Exercise 22.3-4, page 548.
Note: make sure you prove both directions of the
"if and only if".
- Exercise 22.4-5, page 552.
Note: make sure that you can find vertices
with indegree zero quickly.
- Exercise 22.5-3, page 557.
- Exercise 22.5-7, page 557.
Hint: First find the component graph of G.
What does it look like if the graph is semi-connected? If it isn't
semi-connected? Prove your conjecture.
- Problem 22-3, page 559.
- Problem 23-4, page 577.
- Exercise 24.3-6, page 600.
- Problem 24-3, page 615.
- Problem 15-4, page 367.
- Exercise 25.2-6, page 635.
- Problem 25-1, page 641.
Last Modified:
14 Aug 2004 16:08:27 EDT
by
Richard Chang
to Fall 2003 CMSC 441 Section Homepage