Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470

Deprecated: (6.006) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.006/web_scripts/spring08/wiki/includes/Sanitizer.php on line 1470
Lectures and Recitations - 6.006 Introduction to Algorithms

Lectures and Recitations

From 6.006 Introduction to Algorithms

(Difference between revisions)
Jump to: navigation, search
(Sorting)
(add lecture 12)
Line 55: Line 55:
=== Sorting ===
=== Sorting ===
==== [http://courses.csail.mit.edu/6.006/spring08/notes/lecture8.pdf Lecture 8], Sorting I: Heaps ====
==== [http://courses.csail.mit.edu/6.006/spring08/notes/lecture8.pdf Lecture 8], Sorting I: Heaps ====
-
* Reading: CLRS, Sections 2.1, 2.2, 2.3, 6.1, 6.2
+
* Reading: CLRS, Sections 2.1-2.3 and 6.1-6.2
==== [[Recitation 8]], Overview of Sorting Methods; Heaps as Data Structures: Principles, Sorting, Priority Queues  ====
==== [[Recitation 8]], Overview of Sorting Methods; Heaps as Data Structures: Principles, Sorting, Priority Queues  ====
* Hueihan's Slides [[http://courses.csail.mit.edu/6.006/spring08/recitation_notes/HeapSort.pdf PDF]]
* Hueihan's Slides [[http://courses.csail.mit.edu/6.006/spring08/recitation_notes/HeapSort.pdf PDF]]
* Victor's Slides [[http://courses.csail.mit.edu/6.006/spring08/keynotes/recitation08.pdf PDF]] | [[http://courses.csail.mit.edu/6.006/spring08/keynotes/recitation08.zip Zipped Keynote]]
* Victor's Slides [[http://courses.csail.mit.edu/6.006/spring08/keynotes/recitation08.pdf PDF]] | [[http://courses.csail.mit.edu/6.006/spring08/keynotes/recitation08.zip Zipped Keynote]]
==== [http://courses.csail.mit.edu/6.006/spring08/notes/lecture9.pdf Lecture 9], Sorting II: Heaps ====
==== [http://courses.csail.mit.edu/6.006/spring08/notes/lecture9.pdf Lecture 9], Sorting II: Heaps ====
-
* Reading: CLRS, Sections 6.1 - 6.4
+
* Reading: CLRS, Sections 6.1-6.4
==== [http://courses.csail.mit.edu/6.006/spring08/notes/lecture10.pdf Lecture 10], Sorting III: Lower Bounds, Linear Time Sorting ====
==== [http://courses.csail.mit.edu/6.006/spring08/notes/lecture10.pdf Lecture 10], Sorting III: Lower Bounds, Linear Time Sorting ====
-
* Reading: CLRS, Sections 8.1 - 8.4
+
* Reading: CLRS, Sections 8.1-8.4
==== [[Recitation 9]], Quiz Review: Interesting Problems ====
==== [[Recitation 9]], Quiz Review: Interesting Problems ====
* Slides [[http://courses.csail.mit.edu/6.006/spring08/keynotes/recitation09.pdf PDF]] | [[http://courses.csail.mit.edu/6.006/spring08/keynotes/recitation09.zip Zipped Keynote]]
* Slides [[http://courses.csail.mit.edu/6.006/spring08/keynotes/recitation09.pdf PDF]] | [[http://courses.csail.mit.edu/6.006/spring08/keynotes/recitation09.zip Zipped Keynote]]
Line 68: Line 68:
==== [[Recitation 10]], Counting,Radix and Bucket Sorting, Gas simulation ====
==== [[Recitation 10]], Counting,Radix and Bucket Sorting, Gas simulation ====
* Hueihan's Slides [[http://courses.csail.mit.edu/6.006/spring08/recitation_notes/LinearTime_Sorting.pdf PDF]]
* Hueihan's Slides [[http://courses.csail.mit.edu/6.006/spring08/recitation_notes/LinearTime_Sorting.pdf PDF]]
 +
 +
=== Searching ===
 +
==== [http://courses.csail.mit.edu/6.006/spring08/notes/lecture12.pdf Lecture 12], Searching I: Graph Search, Representations, and Applications ====
 +
* Reading: CLRS, Sections 22.1-22.3 and B.4

Revision as of 03:25, 18 March 2008

Contents

Introduction and Document Distance

Lecture 1, Introduction and Document Distance

Recitation 1, Document Distance in Python (docdist{1,2,3,4}.py)

Lecture 2, More Document Distance, Mergesort

Recitation 2, Python Cost Model, Review for Asymptotic Notation & Mergesort

Binary Search Trees

Lecture 3, Airplane scheduling; Binary Search Trees

Recitation 3, Binary Search Trees

Lecture 4, Balanced Binary Search Trees

Recitation 4, AVL Trees (Balanced Binary Search Trees)

Hashing

Lecture 5, Hashing I: Chaining, Hash Functions

Recitation 5, Hashing in Python, Mutability

Lecture 6, Hashing II: Table Doubling, Karp-Rabin

  • Reading: CLRS, Chapter 17 and Section 32.2

Recitation 6, Karp-Rabin review, Rolling Hashes principles and code

Lecture 7, Hashing III: Open Addressing

  • Reading: CLRS, Section 11.4 (and 11.3.3 and 11.5 if interested)

Recitation 7, Open Addressing: theory review, Python code; More Rolling Hashes (for Rabin Karp)

Sorting

Lecture 8, Sorting I: Heaps

  • Reading: CLRS, Sections 2.1-2.3 and 6.1-6.2

Recitation 8, Overview of Sorting Methods; Heaps as Data Structures: Principles, Sorting, Priority Queues

Lecture 9, Sorting II: Heaps

  • Reading: CLRS, Sections 6.1-6.4

Lecture 10, Sorting III: Lower Bounds, Linear Time Sorting

  • Reading: CLRS, Sections 8.1-8.4

Recitation 9, Quiz Review: Interesting Problems

Lecture 11, Sorting IV: Stable Sorting, Radix Sort

Recitation 10, Counting,Radix and Bucket Sorting, Gas simulation

  • Hueihan's Slides [PDF]

Searching

Lecture 12, Searching I: Graph Search, Representations, and Applications

  • Reading: CLRS, Sections 22.1-22.3 and B.4
Personal tools