6.006 | Fall 2011 | Undergraduate

Introduction to Algorithms

Recitation Videos

Recitation 2: Python Cost Model, Document Distance

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

Recitation notes (PDF)

Recitation handout (PDF)

Recitation code (ZIP) (This ZIP file contains: 8 .py files, 1 .txt file and 1 rake file.)

Course Info

Learning Resource Types
Lecture Videos
Recitation Videos
Problem Sets with Solutions
Exams with Solutions
Programming Assignments with Examples
Lecture Notes