CPSC 221H-200: Data Structures & Algorithms
Homework Assignment #2
Spring 2009


General Guidelines for Homework


Assigned Problems

Due: Thursday February 5, 2009 at the beginning of class

  1. Problem R-5.10 in the text (p. 246). (30 points)

  2. Problem R-5.12 in the text (p. 246). In addition to what is specified in the question, analyze the running time and space used by your algorithm. (35 points)

  3. Problem C-5.18 in the text (p. 249). (35 points)


Bonus Problems

Due by Thursday February 19, 2009

These problems can be done for extra credit. Points for bonus problems will be tabulated separately, and will be considered separately at the end of the semester. They should be turned in separately from your regular assignment. They will be accepted upto two weeks past the due date of the assignment.