Class Description
This class is about lots of cool algorithms and how to analyze and improve their performance. My approach will be one of not just mathematics but of coding.
[This page is under construction]
Time: MWF 12:30-1:30 Final: Yes Location: EP 216 |
|
Text: Introduction to the Design and Analysis of Algorithms
by Anany Levitin |
Estimated Syllabus
This syllabus is an estimate of what we might cover this semester. This is the first time I have taught this course so expect the syllabus to be very fluid.
Wk# | Monday |
Topics/Links | Assignments | Comments | |
---|---|---|---|---|---|
1 | Jan 7 | Class intro, Definition and features of an algorithm, Example of some simple algorithms, Tractability, Euclid's algorithms done many ways | Read Chapter 1 | NO CLASS ON MONDAY | |
2 | Jan 14 | Algorithm metrics, how do we compare algorithms, efficiency classes, tractable | Read Chapter 2 | ||
3 | Jan 21 | O, Omega, and Theta, how to compare efficiency classes | Assignment 1 | NO CLASS ON MONDAY | |
4 | Jan 28 | Simple algorithm analysis techniques | assignment 2 pdf, assignment 2 tex | ||
5 | Feb 4 | Brute force approaches, sorting and the tower of Hanoi | |||
6 | Feb 11 | depth first search/breadth first search | |||
7 | Feb 18 | more search based graph algorithms | |||
8 | Feb 25 | insert sort, some magic of analysis and the Shell sort | assignment 3 pdf, assignment 3 tex | ||
9 | Mar 4 | partitions and quick sort, trivial traversals | assignment 4 pdf, assignment 4 tex | ||
10 | Mar 11 | SPRING RECESS. NO CLASSES THIS WEEK | |||
11 | Mar 18 | Review for exam | EXAM 1 on Friday | ||
12 | Mar 25 | ||||
13 | Apr 1 | ||||
xx | Apr 8 | ||||
14 | Apr 15 | NO CLASS: at conference Apr 17 and 19 | |||
15 | Apr 22 | ||||
16 | Apr 29 | ||||
17 | May 6 | FINAL EXAM 12:30-2:30 Wed May 8 |
References and Resources
Algorithms
- Algorithms, most of which we showed in class.
- Ineffective sorts from the xkcd comic.
- The sounds of a quicksort and the sounds of other sorts. Pretty cool.
Python References
- The Python Library Reference
- The Python Language Reference
- A Python Tutorial
- examples-py.tar are some python examples I covered in another class
LaTeX References
- AMS math guide
- LaTeX for Computer Scientists
- The Giant Book of Symbols
- Cool tool that lets you draw a latex symbol and
it will do pattern matching to look it up. Try it! Don't always pick the first symbol it picks.
- The Source for all things TeX and LaTeX
- examples-tex.tar are the notes I used when I talked about LaTeX in one of my classes
- A weird LaTeX example just doing lots of things. It requires the files: latexGraph.png, latexHyenaBib.bib, latexStripedHyena.jpg
Services
- Homework submission page. This is not just for final homework submission. This is not to be confused with other submission tools used in the CS department.
- Submitting homework without a browser