CSC 225 Class Notes: Fall 2017
For a complete set of notes, please attend class or get
notes from someone who attended. Only selected notes will
be placed here.
-
Lecture 1: Introduction to CSC 225.
-
Review of Linked Lists
-
Review of Induction
-
Recursive algorithm for reversing a linked list.
-
Solving recurrence relations.
-
Some programming hints and more on recurrences/induction
-
Mathematics for Algorithm Analysis
-
MaxSort
-
Loop invariants
-
MergeSort
-
QuickSort
-
Assignment 1A: Hints for writing good programs.
-
Algorithm analysis and binary search
-
Space complexity of algorithms
-
A bad big Oh proof.
-
HeapSort
-
Binary Trees
-
Radix Sort
-
Introduction to graph theory
-
Kruskal's algorithm for the Minimum Weight Spanning Tree Problem
-
An example for Kruskal's algorithm
-
Drawing decision trees for the diver watch problem
-
A lower bound for the time for comparison model sorting algorithms
-
Union/Find approach to maintaining connected component information
-
BFS (Breadth First Search)
-
DFS (Depth First Search)
-
Assignment #5 example
-
Hashing
-
More on BFS/DFS, the sorting lower bound and hashing.
-
Space complexity.
CSC 225
Notes / maintained by
Wendy Myrvold /
wendym@cs.UVic.ca
/ revised Nov. 30, 2017