hw10 - Introduction to Algorithms CS 482 Spring 2006...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Algorithms Problem Set 10 CS 482 Spring 2006 Due: Friday, April 28 Please hand in each problem on separate sheets with your name and netID on each. If a problem requires multiple sheets, please staple the sheets for that problem together Reading: Chapters 13.1 - 13.5. Question 1 Suppose, totally hypothetically, that you’ve been captured by pirates. They are about to make you walk the plank, when, on a hunch, one of the scurvy scalawags asks you whether you know anything about approximation algorithms. Uh-oh, you think. It turns out they have something of an optimization problem and need your help. They would like to get a pirate fleet going, but they are having trouble deciding how many ships they need, and who should go on each ship. See, being pirates and all, certain pairs are prone to quarrelling and never seem to get anything done when they are together. On the other hand, some pirates work really well together, and it would be a shame to break up such teams. The Captain gives you a list of those pairs of pirates who work well together, and a list of those who don’t. No pair appears on both lists, and some pairs might not appear on either. The problem
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern