Computer Science 413: Analysis of Algorithms

Analysis of Algorithms

Ideally, most of the material included in Lectures 2–5 is a review of material introduced in CPSC 331. A set of readings on the analysis of algorithsm is also available. This introduces this topic just as it will be covered in this section of CPSC 413, but includes different examples and exercises.

Lecture #2: Proving the Correctness of a Simple Recursive Algorithm

Tutorial Exercise #2: Proving the Correctness of a Simple Recursive Algorithm

Lecture #3: Proving the Correctness of a Simple Algorithm with a While Loop

Reading Exercise #2: Proving the Correctness of Somewhat More Complicated Algorithms

Tutorial Exercise #3: Proving the Correctness of a Simple Algorithm with a Loop

Lecture #4: Analyzing the Running Time of a Simple Algorithm with a While Loop

Tutorial Exercise #4: Analyzing the Running Time of a Simple Algorithm with a Loop

Reading Exercise #3: The Logarithmic Cost Criterion

Lecture #5: Analyzing the Running Time of a Simple Recursive Algorithm

Tutorial Exercise #5: Analyzing the Running Time of a Simple Recursive Algoairhm

Reading Exercise #4: Analyzing Running Time as a Function of Input Size

Lecture #6: Asymptotic Notation and Standard Functions

Tutorial Exercise #6: Asymptotic Notation and Standard Functions

Assignment #1: Analysis of Simple Algorithms


University of Calgary Extension of Logo
Department of Computer Science

cpsc 413 computer science faculty of science u of c

CPSC 413 introduction and math review analysis of algorithms divide and conquer dynamic programming greedy algorithms complexity theory assignments tests