WPI Worcester Polytechnic Institute

Computer Science Department
------------------------------------------

CS2223 Algorithms 
Homework 5 - B Term 2013

PROF. CAROLINA RUIZ 

Due Date: Friday Dec. 13th at 1:30 PM 
Submit all homework problems on myWPI
See course policy regarding late homework submissions

------------------------------------------

Homework Instructions:


Homework Problems:


  1. (40 Points) Problem I. Exercise 16.2-3 page 427 of your textbook.
    Efficient algorithm: 20 points. Complexity analysis: 10 points. Correctness argument: 10 points.

  2. (40 Points) Problem II. Problem 16.5 page 449 of your textbook.
    Part a: 20 points. Part b: 10 points. Part c: 10 points.

  3. (20 Points) Problem III. Exercise 24.3-5 page 663 of your textbook.
    Directed graph: 10 points. Showing that Dijkstra's algorithm relaxes the edges of a shortest path in the graph out of order: 10 points.