SUNY Geneseo Department of Computer Science
Lecture Record
CSci 242, Spring 2013
Prof. Doug Baldwin
Caveat
These are electronic records of class discussion from CSci 242 (Analysis of Algorithms).
They are generally captured as a class unfolds,
and slightly cleaned up afterwards. They are not clean, carefully-planned lecture
notes in the usual sense. They are more an electronic equivalent of notes on
the blackboard: they record some of what the instructor said, some of what students
said, the things that really happened in the class—including the misunderstandings,
false starts, and similar things that happen in real classes. The goal of these
notes is as much to help students remember how they learned as it is to help
them remember what they learned (because the "how" of learning is at least as
important as the "what").
Please make WWW or other electronic links to this page only—I want people
reading these notes to see the “caveat” above.
Send comments, questions, etc. related to these notes to Doug
Baldwin.
- Jan. 22—Introduction
- Jan. 24—Introduction to Graphs
- Jan. 29—Breadth First Search
- Jan. 31—Depth First Search
- Feb. 5—Divide and Conquer
- Feb. 7—Introduction to Induction
- Feb. 12—Induction, Part 2
- Feb. 14—Introduction to Recurrence Analysis
- Feb. 19—The Master Method
- Feb. 21—Introduction to Dynamic Programming
- Feb. 26—Trip Planning via Dynamic Programming
- Feb. 28—Hour Exam 1, no lecture notes
- Mar. 5—A Board Game Example of Dynamic Programming
- Mar. 7—Online Discussion, no lecture notes
- Mar. 12—Matrix Chain Multiplication
- Mar. 14—Sequence Comparison via Dynamic Programming
- Mar. 26—The Floyd-Warshall Algorithm
- Mar. 28—Dijkstra’s Algorithm
- Apr. 2—Greedy Algorithms
- Apr. 4—Minimum Spanning Trees
- Apr. 9—Drawing Polygons with Holes
- Apr. 11—Hour Exam 2, no lecture notes
- Apr. 16—GREAT Day, no class meeting
- Apr. 18—Introduction to Backtracking
- Apr. 23—Hash Tables
- Apr. 25—Probability, Expectation, and Indicator Random Variables
- Apr. 30—Analysis of Hashing with Chains
- May 2—Backtracking and the n Queens Problem
- May 7—Probabilistic Algorithms