Data Structures Lectures for Fall 2014

Lecture

Date

Topics

Handouts

01

Aug 26

Ch 1: Python Review

Chapter 1 Slides

Python Review Questions

02

Aug 28

Ch. 2: Algorithm Analysis; Big-oh; timing

Chapter 2 Slides

Python classes and algorithm analysis questions

03

Sep 2

Ch. 2: Performance of Python Built-in data structures

Chapter 2 Part 2 Slides

More algorithm and built-in data structures analysis questions

04

Sep 4

Ch. 3: Linear data structures; stack implementations

Stack implementation questions

05

Sep 9

Stack applications; Queue implementations

06

Sep 11

Queue applications; Deque

Deque questions

07

Sep 16

Ch. 6.6: Priority Queue: binary heap implementation

Heap questions

08

Sep 18

Unordered Lists implementations

unorderedList.zip

09

Sep 23

Ordered List implementation Ch. 4: Recursion: fibonacci example

10

Sep 25

Ch. 4: Recursion continued

More recursion questions

11

Sep 30

Review for Test 1

Test 1 Review Topics

Test 1 Spring 2014

Test 1 Spring 2014 Solution

Test 1 Spring 2013

Test 1 Spring 2013 Solution

Test 1 Fall 2012

Test 1 Fall 2012 Solution

Test 1 Fall 2010

Test 1 Fall 2010 Solution

Test 1 Fall 2013

Test 1 Fall 2013 Solution

12

Oct 2

Test 1: Chapters 1 - 3

13

Oct 7

Recursion examples: backtracking coin-change problem an dynamic programming

Coin-change questions

14

Oct 9

Ch. 5: Searching: linear and binary search

On-line Hashing Tutorial

Searching questions

15

Oct 14

Hashing questions

16

Oct 16

Hashing implementations: open addressing implementations; Simple sorts: bubble, selecton, and insertion sorts;

Simple sort questions

17

Oct 21

Advanced sorts: heap, merge, and quick sorts

18

Oct 23

Ch. 6: tree terminology, binary tree implementation, traversals, parse tree application

Tree questions

19

Oct 28

Binary Search Tree implementation

More Tree questions

20

Oct 30

Binary Search Tree delete method

BST delete questions

21

Nov 4

Review for Test 2

Test 2 Review Topics

Test 2 Spring 2014

Test 2 Spring 2014 Solution

Test 2 Fall 2012

Test 2 Fall 2012 Solution

Test 2 Spring 2013

Test 2 Spring 2013 Solution

Test 2 Fall 2013

Test 2 Fall 2013 Solution

22

Nov 6

Test 2: Chapters 4 – 5

23

Nov 11

AVL trees

AVL Tree questions

24

Nov 13

More AVL trees

25

Nov 18

File Structures vs. Data Structures

Good B+ Tree Summary

Wikipedia B+ Tree discussion

B+ Tree

File structure questions

26

Nov 20

Ch. 7: Graph terminology, traversals (BFS and DFS)

Graph questions

Thanksgiving Break (Nov 24 – Nov 28)

27

Dec 2

Graph implementations

More Graph questions

28

Dec 4

Graph select algorithms: topological sort, Dijkstra’s algorithm, Prim's Algorithm

Code from lecture:

lec28.zip

Even More Graph questions

29

Dec 9

Graph algorithms: Traveling Salesperson Problem (TSP)

TSP problem questions

30

Dec 11

Review for Final Exam

Final Exam Review Topics

TSP problem Backtracking & Best-first search questions

Final Exam, Tuesday (Dec 16) 8:00-9:50 AM in ITT 322