Homework CSE202
Winter, 2008

Homework will be posted bi-weekly on Mondays soon after the previous homework was handed in. A bonus problem (also see problem 2 in the midterm exam)

Suppose that highways that connect n cities can be represented by a connected graph G. Furthermore we assume that all edge costs are distinct. There are two major cities A and B. Design an algorithm for finding a connected network S such that
(i) it contains a shortest path from A to B, and
(ii) the cost of S is minimum subject to (i).
Either give a polynomial algorithm, or prove this problem is NP-complete, or show that any algorithm for this problem does not have polynomial running time.

Solution to Final. solution

Back to CSE202 page.