CS41 — Homework

 
Homework 1 (due Thursday Sep 11)
Homework 2 (Due Tue Sep 15)
Project Progress Report (Due Thu Sep 18)
Homework 3 (Due Thu Sep 25)
Sorting (Due Tue Sep 30)
Be prepared to discuss 8-4, 9.3-1, and 9.3-8 in class. You do not need written solutions Read the papers on NetApps WAFL file system and persistent B-trees for planar point location. You can safely skim the experimental results on PBtrees. I want you to have a basic understanding of how persistence is used in both applications.

Read/Skim 10.1, 10.2, 10.4, 12. Read in detail 13, 14, and 18.

You may also be interested in a Red-Black Tree tune-up, the Left Leaning Red Black Tree
CS41 home

Augmented Search Trees (Due Thu Oct 9)
Written solutions to 13.2-4, 13-3, 14.1-5, and 14.2-1 are due at the beginning of class. For 14.2-1, all functions are of the form MINIMUM(x), where x is a reference to a node in a tree, meaning you do not have to search for the key that has the key of x, you all already placed at a node. All functions should report the appropriate statistic for the subtree rooted at x. Thus MINIMUM(x) should return (in O(1) time) the minimum element in the subtree rooted at x, and SUCCESSOR(x) should return the successor of the element x that is in the subtree rooted at x.
Dynamic Programming and Amortized Analysis (Due Thu Nov 6)
Written solutions to 16-1, 17.1-3, 17.2-1, and 17.3-6 are due at the beginning of class.
More interesting problems
Due before Thanksgiving break
Graph Algorithms
Written solutions to the problems in the PDF link are due Thursday December 4.