CS5800 09F: Homework 07

Created: Sun 01 Nov 2009
Last modified: 

Assigned: Wed 04 Nov 2009
Due: Wed 18 Nov 2009


  1. Please review the course syllabus and make sure that you understand the course policies for grading, late homework, and academic honesty.

  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...

    where "RC" is "regular credit", "EC" is "extra credit", and "NA" is "not applicable" (not attempted). 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.



Unless otherwise indicated, exercises and problems are from Introduction to Algorithms by Cormen, Leiserson, Rivest, and Stein. The edition (2nd or 3rd) will be indicated if the numbering differs.

  1. Read the Wikipedia article on Bloom filters: http://en.wikipedia.org/wiki/Bloom_filter

    and then consider what happens if you fix the length of the bit array at m bits, but you allow the number of hash functions, k, to vary.

    1. What goes wrong in the extreme limit when k becomes large?
    2. What goes wrong in the extreme limit when k becomes 1?
  2. 17.3-6
  3. 17.3-7
  4. Read chaper 12 - Binary trees

  5. 12.1-1
  6. 12.2-1
  7. 12.2-2
  8. 12.2-4
  9. 12.3-4 (CLRS-3ed) = 12.3-5 (CLRS-2ed)
  10. 12.1
  11. 12.4

Switch to:

Harriet Fell
College of Computer Science, Northeastern University
360 Huntington Avenue #340 WVH,
Boston, MA 02115
Email: fell@ccs.neu.edu
Phone: (617) 373-2198 / Fax: (617) 373-5121
The URL for this document is: http://www.ccs.neu.edu/home/fell/CS5800/F09/Homeworks/hw.07.html