CPSC 629: Analysis of Algorithms
Homework Assignment #5
Due: Thursday April 15, 1999 at the beginning of class
General Guidelines for Homework
-
Be careful of the distinction between exercises and problems in
[CLR]. Each section ends with a set of exercises, each chapter
ends with a set of problems.
-
Be clear and precise. Write neatly and legibly (you will lose
points for sloppy and illegible handwriting).
Justify all answers, even if not specified in the question.
Use good judgement concerning how detailed to make your answer.
-
If the question is not fully specified, you may need to make
some assumptions. In this case, you must state any assumptions you
make, and justify why they are reasonable.
-
Everyone must turn in their own copy of the assignment. You may consult
outside material or work with others (this is encouraged), but you
must reference your sources (people, texts, solutions, etc.);
in particular, list all collaborators on the first page
of your assignment.
Do the following problems.
-
Exercise 23.5-2 in [CLR] (p. 494).
-
Exercise 23.5-3 in [CLR] (p. 494).
-
Problem 25-3, part (a) only, in [CLR] (p. 546).
-
Exercise 26.2-2 in [CLR] (p. 563).
-
Problem 26-2 in [CLR] (p. 576).