CSE331 HW6

# CSE331 HW6 - CSE 331 Introduction to Algorithm Analysis and...

This preview shows page 1. Sign up to view the full content.

CSE 331: Introduction to Algorithm Analysis and Design Fall 2011 Homework 6 Due Friday, October 28, 2011 by 1:15pm in class IMPORTANT: Please submit each problem separately, i.e. each problem should begin on a new page and only the pages for one problem should be stapled together. Failure to do so might result in some problem(s) not being graded. For general homework policies and our suggestions, please see the policy document. 1. (40 points ) Say we are given an instance of the shortest s - t path problem on a directed graph G . Assume that all the edge weights are distinct and positive. Let P be a minimum cost path for this instance. Now consider a new instance where each edge cost c e is replaced by a new edge cost of c 3 e (but the graph G remains the same). Mr. GraphKnowItAll claims that P is still a minimum cost s - t path in the new instance. Decide if Mr. GraphKnowItAll is full of it or not– if so, give a counter example. If not, give a short explanation why Mr. GraphKnowItAll is correct.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern