Session Details
Week 1,
Session 3 — Thu Jun 7
Preparation
-
D: Sections 1.1 and 1.2, basic numerical algorithms.
-
L: 2.3 This is a review of using summations in algorithm analysis. If you are not confident about this after 230, read this section very carefully.
-
L: Appendix B (solution techniques for recurrence relations). Most should be review of 230/375.
-
W 7.5.3 (not optional) This proof of the Master Theorem is a little bit simpler than Levitin's; knowing Weiss's level of detail of the proof is sufficient for this course (under "Reading Materials" on ANGEL)
-
L: 2.4 Review of analysis of recursive algorithms.
-
Dasgupta Chapter 1, under "Reading Materials" on ANGEL, pages 1-15
-
W 7.4-7.4.3 A slightly different approach to some of the matrerial that Dasgupta discusses. (on ANGEL)
-
L: 2.5-2.7 Only 2.7 should be new, and it is not technical. W: 7.3.4, 5.7, 5.8 have similar material.
-
CACM interview with Donald Knuth, the most famous (and perhaps most quirky) person in the field of Algorithms.
(July-August 2008)
HW Due
-
<Summer:Number in parentheses is the number of grace days allowed for this assignment.
Details of how grace days work are in the syllabus.
-
HW 1 (7)
-
In case you don't have the book yet,
HW01 textbook problems and hints
Topics
-
Quick review of big-Oh and its cousins
-
Fibonacci numbers via Matrix multiplication
-
Analyzing Addition
-
Algorithms for multiplication
Outline
-
[ 3 min] Announcements
-
[20 min] Asymptotics review (big of, etc)
-
[ 7 min] Fibonacci summary
-
[ 5 min] Analyzing Addition
-
[ 5 min] Multiplication the usual way
-
[ 5 min] Multiplication a la France
-
[ 5 min] Divide and Conquer
-
[ 5 min] Multiplication a la Gauss
Resources
-
Slides
-
Summer: Instructor notes for Slides
-
In-class code
-
Summer: In-class Quiz 03
-
Summer: ICQ solution
HW Assigned