6.006 | Fall 2011 | Undergraduate

Introduction to Algorithms

Lecture Videos

Lecture 14: Depth-First Search (DFS), Topological Sort

Description: This lecture covers depth-first search, including edge classification, and how DFS is used for cycle detection and topological sort.

Instructor: Erik Demaine

Course Info

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