95-771 Data Structure and Algorithms for Information Processing

[ Home | Schedule | Syllabus | Course description ]

Look for frequent updates to the topics, slides and readings.



DateReading(s)SlidesOutIn
Week 1: Tuesday August 27, Thursday August 29
Main Ch. 1,2


Introduction
Main on Pre and Post Conditions
Basic Big O
Towers
Main on OOP
Project 1 : Singly Linked Lists
Project 1 Javadoc (ObjectNode and SinglyLinkedList) after modifications
Project 1 ObjectNode.java prior to modifications
--
Week 2: Tuesday September 3, Thursday September 5
Main Ch. 4

Big Theta Video

Big O at Khan Academy
Big O
Big O (PDF version)
Linked Lists
Ch.4

--
Week 3: Tuesday September 10, Thursday September 12
Main Ch. 6,7

N Queens on U-Tube
Stacks/Queues
Main Ch.6,7
Trees
Main Ch.9 Binary Search Trees
Project 2: 2d Trees
CrimeLatLonXY.csv
Sedgewick on Kd Trees
Project 1 Due Thursday at midnight
Week 4: Tuesday September 17, Thursday September 19
Main Ch. 9,10

Red Black Tree Video

B-Tree Video

B+ Tree Video
Heaps and B-Trees
Main on Heaps Ch.10
Notes on 2-3 Trees
Red Black Trees

--
Week 5: Tuesday September 24, Thursday September 26
Main Ch. 11,14

BFS

DFS

Floyd Warshall at Wikipedia
Graphs I
Graphs II
Project 3: Graph coloring and Red Black Trees
Red Black Tree Javadoc
Project 2 Due Thursday at midnight
Week 6: Tuesday October 1, Thursday October 3
Main Ch. 11,14

Dijkstra Shortest Path
Graphs III (optional)
Graphs IV (optional)

--
Week 7: Tuesday October 8, Thursday October 10 MIDTERM EXAM ON Thursday, October 10
Old Midterm exams

Old Midterm Fall 2011

Midterm Spring 2012

Midterm Fall 2013

Midterm Spring 2014

Midterm Fall 2014

Midterm Spring 2015

Midterm Fall 2015

Midterm Spring 2016

Midterm Fall 2016

Midterm Spring 2017

Midterm Fall 2017

Midterm Spring 2018

Midterm Fall 2018

Midterm Spring 2019

Midterm Fall 2019

Midterm Spring 2020

Midterm Fall 2021

Midterm Spring 2022

Midterm Fall 2022

Midterm Spring Key 2023

Midterm Fall Key 2023

Midterm Spring Key 2024

Midterm Fall Key 2024
MIDTERM EXAM Review Topics

Project 3 Due Thursday at midnight
Week 8: Tuesday October 22, Thursday October 24
Main Ch. 6,7,12


Searching I
Main on Searching Using Hash Tables Ch.11
Traveling Sales Person Problem Project 4
TSP and MST from CLR
Traveling Sales Person Help
Crime Data X Y Lat Lon Pittsburgh 1990
--
Week 9: Tuesday October 29, Thursday October 31


Sorting demonstrations
Searching II
Lecture Notes
Main Ch.12
Sorting I
Sorting I (PDF)

--
Week 10: Thursday November 7, Tuesday November 12



Data Compression Huffman
Huffman explained
Data Compression LZW
Project 5 LZW Compression
Video File (binary) for compression testing
words.html for text compression testing
shortwords.txt for text compression testing
CrimeLatLonXY.csv
Project 4 Due Thursday, November 7
Week 11: Thursday November 14, Tuesday November 19
Main Chapter 12

Radix sort
Sorting II
Sorting II (PDF)
Radix Sort
Slide Edits
Lecture Notes

--
Week 12: Thursday November 21, Tuesday November 26


Finite State Machines

Pushdown Automata

Linear Bound Automata

Turing Machines

Google Doodle Turing Machines
Finite State Machines I
Finite State Machines I (PDF)
Finite State Machines II
Finite State Machines II (PDF)

--
Week 13: Tuesday December 3, Thursday December 5


The Chomsky hierarchy

P versus NP problems
Finite State Machines III
Finite State Machines III (PDF)
NP-Complete Languages

Project 5 Due Tuesday, December 3
Week 14: FINAL EXAM is Thursday December 12, 5:30-8:30 PM, HBH1005



Review for Final

--

Last Update: August 2024
mm6@andrew.cmu.edu