Description: This recitation starts with a short discussion of hashing, and then discusses problem set code for most of the hour. Amortized analysis is also discussed briefly. Instructor: Victor Costan
Description: This recitation mostly covers rolling hashes, with a short discussion of amortized analysis at the end. Instructor: Victor Costan
Description: This recitation discusses the first problem from Problem Set 3, covering sweep-line algorithms and range queries. Instructor: Victor Costan
Description: This recitation starts with a review of comparison sorting methods, and then discusses counting sort and radix sort. Instructor: Victor Costan
Description: This recitation covers insertion, deletion, and rebalancing of AVL trees. Instructor: Victor Costan
Description: This recitation starts with a review of recursion trees and recurrences, and then discusses binary search trees. Instructor: Victor Costan
Description: This recitation continues to look at versions of the document distance code, and briefly discusses insertion and merge sort. Instructor: Victor Costan
Description: This recitation covers the Python cost model and looks at the code for document distance, including main and most functions except count_frequency. Instructor: Victor Costan
Description: This recitation covers the wood-cutting problem (dynamic programming) and Bloom filters (hashing, probability). Instructor: Victor Costan
Description: This recitation reviews the computational complexity concepts presented in lecture. Instructor: Victor Costan
Description: This recitation looks at player positions in the Dance Dance Revolution game, along the lines of the guitar fingering example shown in lecture. Instructor: Victor Costan
Description: This recitation discusses the knapsack problem and polynomial time vs. pseudo-polynomial time. Instructor: Victor Costan
Description: This recitation revisits the perfect-information blackjack problem that was covered in lecture. Instructor: Victor Costan
Description: This recitation covers asymptotic complexity, recurrences, and peak finding. Instructor: Victor Costan
Description: This recitation uses dynamic programming to find subsequences in the card game Crazy Eights, and to find the shortest path in a graph. Instructor: Victor Costan
Description: This recitation reviews numerics and graphs in preparation for Quiz 2. Instructor: Victor Costan
Description: This recitation discusses the Rubik's cube problem from Problem Set 6, and then uses a graph model to find an optimal build order for a simplified version of the StarCraft game. Instructor: Victor Costan
Description: This recitation covers breadth-first search for shortest paths. Instructor: Victor Costan
Description: This recitation covers depth-first search and DFS edge classification. Instructor: Victor Costan
Description: This recitation starts with a discussion of Problem Set 5, and then covers graph representations and breadth-first search. Instructor: Victor Costan