hw11 - max(x-min(x max(y-min(y and should be either...

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

View Full Document Right Arrow Icon
CSE331 Section 2 Homework 11 Due: Friday April 18, 2008 at 11:59am 1. Problem 10.10 on page 477 for online algorithms (i.e., next fit, first fit, and best fit). 2. Problem 10.10 on page 477 for offline algorithms (i.e. first fit decreasing, best fit decreasing). 3. Convex Hull: Given: xi, yi, where i=1,…, N Find the line that provides a partition such that the number of points on each side of the line differs by at most 1. The line should be along the longer dimension (this can be found by calculating
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: max(x)-min(x), max(y)-min(y)) and should be either horizontal (i.e. y=3) or vertical (i.e. x=2). The algorithm should run in O(NlogN) time. Describe your algorithm either in pseudo code or with a general description. 4. Problem 10.28 on page 478. Show your work. 5. Problem 10.29 on page 478. For each part, provide a counter example. Show the computed cost and optimal cost for each counter example. Use at most 3 matrices and the smallest dimensions you can....
View Full 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