Homework 5

  • Assigned: Friday, October 30, 2009
  • Due: Friday, November 13, 2009 (5pm in 122A mailboxes)
  • 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 and homework page.
  2. Turn in problems separately, based on the signs on the mailboxes in 122A.  DO NOT staple separate problems to one another.
  3. Submit the solutions on a standard A4/letter paper. 
  4. Either type the homework (e.g. using the formatting software called latex), OR,  where applicable, if   written on paper, circle your answers. (running times, true/false, etc.)
  5. For each problem:
        - Staple pages belonging to a single problem.
        - Write UNI and name.
        - Indicate your professor's name (Stein or Monteleoni).
        - Write EC/RC on each problem.
  6. On each problem, you must also write down with whom you worked on the assignment.
  7. Start early, be concise but rigorous, and enjoy!
  • Specific Instructions:
  1. Be sure to review any parts of Chapters 17 and 22 with which you are not familiar.
  2. All logs are base 2 unless otherwise specified.
  3. Unless otherwise specified, all problems and exercises are from CLRS, Introduction to Algorithms, 3rd edition.
  • Problems:   
  1. Exercise 17.3-3. Binary heap.
  2. Exercises 17.1-3. 17.2-2 17.3-2. Amortized Analysis
  3. Problem 17-2. Making binary search dynamic.
  4. Exercise 22.2-7. Partitioning wrestlers.
  5. Exercises 22.3-8, 22.3-9, 22.3-11. Depth first search.
  6. Problem 22-2. Articulation points, bridges and biconnected components.