CSE331 HW8

# CSE331 HW8 - 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 8 Due Friday, November 11, 2011 by 1:15pm in class 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. In particular, make sure you follow the collaboration policy properly. Do not turn in Q 3 and Q4. 1. (40 points ) Design an O ( m log n ) time algorithm that given an undirected graph G = ( V, E ) and edge weights c e > 0 for every e E , outputs the maximum spanning tree: i.e. among all the spanning trees for G , the algorithm outputs the one with the maximum total weight of edges (breaking ties arbitrarily). 2. (45 + 15 = 60 points ) In class we have seem algorithms that compute the MST in time O ( m log n ). This is under the assumption that the graph is given it its adjacency list repre- sentation. This of course is not as best as possible
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