Self-adjusting Trees
15-211: Fundamental Data Structures and Algorithms
Reading for today: Weiss 22 Charlie Garrod 23 February 2010
Announcements
HW3 theory due now
Programming due Thursday night
Quiz 3 in recitation tomorrow Midterm in lecture next Tu
Introduction to Graphs 15-211 Fundamental Data Structures and Algorithms
Reading for today: Sections 14.1 14.3 Margaret Reid-Miller 16 March 2010
Announcements
Quiz 4 in recitation tomorrow Homework: Theory due in lecture Thursday Programming due 11:59 p
Welcome and Introduction
15-211 Fundamental Data Structures and Algorithms
Charlie Garrod and Margaret Reid-Miller http:/www.cs.cmu.edu/cfw_~charlie,~mrmiller 12 January 2010
Today
An illustrative problem: Mazes What the course is about Algorithms and da
Graph Algorithms, part 3
15-211 Fundamental Data Structures and Algorithms
Reading for today: Chapter 14
Margaret Reid-Miller 23 March 2010
Announcements
Homework 6 is available Theory due Tuesday, April 6 in class Programming due Thursday, April 8 11:59
Graphs, part 4 Minimum Spanning Trees
15-211: Fundamental Data Structures and Algorithms
Charlie Garrod 25 March 2010
Announcements
HW5 (KevinBacon) is available
You must work alone
2
Last time: Relax! (shortest paths)
For each node v store d[v], the b
Sorting and order statistics, part 1
15-211: Fundamental Data Structures and Algorithms
Charlie Garrod 06 April 2010
Alpha-beta search (- search)
: the best score player 1 (max) can guarantee based on the nodes explored so far : the best score player 2 (
Sorting and order statistics, part 2 O(n) sorting and Randomized-select
15-211: Fundamental Data Structures and Algorithms
Charlie Garrod 08 Apr 2010
Announcements
KevinBacon due tonight Need a partner for Chess?
2
Last timesorting
Desirable sorting pro
Parallel Algorithms, Part 1
15-211: Fundamental Data Structures and Algorithms
Margaret Reid-Miller 13 April 2010
Announcements
HW 6 (Chess) has been released Theory due: Tuesday, April 27 in lecture Program due: Wednesday, April 29 at 11:59pm
You may h
Parallel Algorithms, Part 2
15-211: Fundamental Data Structures and Algorithms
Margaret Reid-Miller 20 April 2010
Announcements
Quiz 6: Wednesday, 21 April in recitation HW6 Theory, due Tuesday 27 in class Quiz 7: Wednesday, 28 April in recitation HW6 Ch
Parallel Algorithms, Part 3
15-211: Fundamental Data Structures and Algorithms
Margaret Reid-Miller 22 April 2010
Announcements
HW6 Theory, due Tuesday 27 in class Quiz 7: Wednesday, 28 April in recitation HW6 Chess, due Wednesday Final Exam Review Sessi
PageRank
15-211: Fundamental Data Structures and Algorithms
Charlie Garrod 27 Apr 2010
Announcements
Chess:
Theory due now Unit-tested portion due tomorrow night
(plus late days)
Bots and 211 pool-based portion due Friday at 11:59 p.m.
(no further la
Farewell
15-211: Fundamental Data Structures and Algorithms
Charlie Garrod 29 April 2010
Announcements
Sample final exam available Extra office hours 1 page note sheet for final exam Chess final hand-in assignment Course grade distributions Knuth: May 5t
Introduction to Graphs 15-211 Fundamental Data Structures and Algorithms
Reading for today: Chapter 14.4 Margaret Reid-Miller 18 March 2010
Announcements
Homework 4: Programming due 11:59 pm Monday
Programming is substantial dont delay!
Homework 5: Com
Compression, part 2
15-211: Fundamental Data Structures and Algorithms
Reading for today: Charlie Garrod 04 March 2010
Announcements
2
Announcements
3
Announcements
HW4 is available
Theory due in lecture Thursday, 18 March Programming due 11:59 pm, Mond
Analyzing Algorithms: Asymptotic Analysis and Recurrences
15-211: Fundamental Data Structures and Algorithms
Reading for today: Chapter 5 and 8.5 Charlie Garrod 19 January 2010
Announcements
HW 0 theory questions due now
Programming due tonight by 11:59
Solving Recurrences, then Lists, Stacks, Queues, and Trees
15-211 Fundamental Data Structures and Algorithms
Reading for today: Chapters 16-17 (skim)
Margaret Reid-Miller 21 January 2010
Announcements
HW1 Written:
Due Tuesday, 26 Jan 2010 at start of cl
Hashing, part 1
15-211: Fundamental Data Structures and Algorithms
Reading for today: Chapter 20 Charlie Garrod 26 January 2010
Announcements
HW 1 theory questions due now
Programming due Thursday at 11:59 p.m.
Recitation tomorrow
Quiz 1 Bring the han
Hashing, part 2
15-211: Fundamental Data Structures and Algorithms
Reading for today: Chapter 20 Charlie Garrod 28 January 2010
Announcements
HW1 programming due tonight at 11:59
Do not email us if you are using late days
HW2 coming soon! Quizzes back
Dynamic Programming, Part 1
15-211 Fundamental Data Structures and Algorithms
Reading for today: Section 7.6
Margaret Reid-Miller 02 February 2010
Announcements
HW 2 is available
Theory: due in class Tuesday, Feb 9 Snake program: due Thursday, Feb 11
Q
Dynamic Programming, part 2
15-211 Fundamental Data Structures and Algorithms
Reading for today: Section 7.6
Margaret Reid-Miller 4 February 2010
Announcements
HW 2
Theory due next Tuesday in class Programming due next Thursday night
2
Todays outline
M
Priority Queues and Heaps (of Fun)
15-211 Fundamental Data Structures and Algorithms
Reading for today: Chapter 21
Margaret Reid-Miller 11 February 2010
Announcements
HW 2 - Snake
Written due now! Programming due tonight.
HW 3 Dynamic Programming
Shou
Binary Search Trees
15-211: Fundamental Data Structures and Algorithms
Reading for today: 19.1 19.5 Charlie Garrod 16 February 2010
Announcements
HW3 is out!
Theory due in class next Tuesday
No quiz tomorrow!
2
Last time: Heaps
The min-heap-order prop
Search Trees, part 2
15-211 Fundamental Data Structures and Algorithms
Reading for today: Sections 19.5 and 19.8
Margaret Reid-Miler 18 February 2010
Plan
Today
2-3-4 trees Red-black trees Index trees
HW3 is out
You should do the theory questions first
Data Compression with Huffman Codes
15-211 Fundamental Data Structures and Algorithms
Reading for today: Section 12.1
Margaret Reid-Miller 25 February 2009
Announcements
HW 3 programming due tonight Midterm exam next Tuesday:
March 2 in lecture Bring st
Union-Find
15-211: Fundamental Data Structures and Algorithms
Reading for today: Weiss Ch. 24
Charlie Garrod 14 January 2010
Administrivia
Re: collaboration policy
You may use your own work You may use the official course text
Switching sections?
Talk