CSOR 4231 03F: Homework 5

Assigned: Monday, November 3, 2003
Due: Wednesday, November 12, 2003

Required for Undergraduates: 4 of the following 6 problems
Required for Graduate Students: 5 of the following 6 problems
Points: 10 pts per problem

General Instructions

  1. Please review the homework and grading policy outlined in the course information page.

  2. On the first page of your solution write-up, you must make explicit which problems are to be graded for "regular credit", which problems are to be graded for "extra credit", and which problems you did not attempt. Please use a table something like the following

    Problem01020304 0506070809...
    CreditRCRCRCECRC RCNARCRC...

    where "RC" is "regular credit", "EC" is "extra credit", and "NA" is "not attempted" (not applicable). Failure to do so will result in an arbitrary set of problems being graded for regular credit, no problems being graded for extra credit, and a five percent penalty assessment.

  3. You must also write down with whom you worked on the assignment. If this changes from problem to problem, then you should write down this information separately with each problem.
  4. Start early, be concise but rigorous, and enjoy!

Specific Instructions

  1. All logs are base 2 unless otherwise specified.
  2. Unless otherwise specified, all problems and exercises are from CLRS, Introduction to Algorithms, 2nd edition.

Problems

  1. Exercise 17.2-1, Exercise 17.2-3. Stack with backup and Counter with reset.
  2. Exercise 17.3-3. Potential function for a heap.
  3. Exercise 17.3-6. Queue with 2 stacks.
  4. Problem 17-2. Making Binary Search Dynamic.
  5. Exercise 21.3-3. Lower bound on union-find.
  6. Problem 21-1. Off-line minimum.


Switch to:


cliff@ieor.columbia.edu