Algos for Sedgewick's programming assignments.