CS 3343 Analysis of Algorithms
Fall 09


New schedule starting from Sept 15:

Per request from many of you, here is the new schedule:

Important notice about the change of lecture and recitation schedules:

Class Description

From the catalog: This course is to provide an introduction to the design and analysis of computer algorithms. The students will learn how to analyze the performance of computer algorithms, and programming techniques and data structures used in the writing of effective algorithms.

 

We will discuss classic algorithm design strategies (e.g., divide-and-conquer, dynamic programming, greedy approaches), data structures (e.g., hash tables, binary search trees), classic problems (e.g., sorting, knapsack problem, scheduling, graph-related problems) and the classic algorithms to solve them. We will also analyze algorithm complexity throughout, and touch on issues of tractibility such as NP-Completeness.

Objectives: to learn and apply techniques for the design and analysis of algorithms.

Prerequisites: CS 2413, CS 3233, MAT 2213

Time & Place: TR 3:30pm - 4:45pm, MB 0.224 See top of the page

Textbooks:

Instructor:

Teaching Assistant:

Jahid, Md. Jamiul
E-mail: jamiul_jahid@csebuet.org

Office hours: M 5-7pm @ SB 3.02.04

Recitation sessions: T 5:30-6:20pm @ SB 3.02.10A See top of the page

Schedule (tentative):

Week

Date

Topic

Notes

Reading

Assignment

Due

Misc

1

8/27

Introduction, administration

Slides

Ch 1,2

 

 

 

2

9/1

Basics, asymptotic notation

Slides 

Ch 3 

Hw1 Solution

 

tex

9/3

Asymptotic notation

Slides

Ch 3

 

 

 

3

9/8

Analyzing recursive algorithms

Slides

Ch 4

 

Hw1

Recitation

9/10

Analyzing recursive algorithms

Slides

Ch 4

Hw2 Solution  

tex

4

9/15

Analyzing recursive algorithms

Slides

Ch 4

 

 

 

9/17

Master theorem

Slides

 

Ch 4

Hw3 Solution

Hw2 

tex

5

9/22

Master theorem, Quick Sort

Ch4, Ch 7

 

 

 

9/24

Review, Quick sort

Slides

Ch 1-4,7 

 

Hw3 

 

6

9/29

Quick sort

Ch 7

 

 

 

10/1

Exam 1  (covers weeks 1-5)

 

 

 

 

Solution Courtsey of Kevin Baldor

7

10/6

Review of exam result, Heap sort, Priority queue

Slides

Ch 6

Hw4 Solution

 

tex

10/8

Heap sort, Priority queue

Ch 6

 

 

 

8

10/13

Linear time sorting algorithms

Slides

Ch 8

 

 

 

10/15

Order statistics

Slides

Ch 9

Hw5 Solution

Hw4

tex

9

10/20

Dynamic programming

Slides

 

 

Ch 15

 

 

 

10/22

Dynamic programming

Slides Hw6 Solution

Hw5

tex

10

10/27

Dynamic Programming

Slides  

 

 

10/29

Dynamic Programming

 

Hw6

 

11

11/3

Instructor out of town

 

 

 

 

 

11/5

Review for Exam 2

Slides    

 

 

12

11/10

Exam 2 (Covers weeks 6-10)

 

 

Statistics

 

 

11/12

Greedy Algorithm

Slides

Ch 16

 

 

 

13

11/17

Intro to graphs Slides

Hw7

 

 

11/19

Minimum spanning tree

 

Ch 23-25

 

 

 

14

11/24

Shortest paths  

Hw8

Hw7

 

11/26

No class (holiday)    

 

 

 

15

12/1

P/NP

         

12/3

Final review

      Hw8  

 

 

Final: Dec 11, Friday, 10:30 am - 01:00 pm

 

 

 

 

 

Grading:

     Exam 1 15% 
     Exam 2 15% 
     Final Exam 30% 
     Lab Work 10% 
     Homework plus programming projects 30 %

One lowest grades in homework will be dropped.  Exams cannot be made up, cannot be taken early, and must be taken in class at the scheduled time.  There will be no make up exams. The grade that you obtain for the course will also serve as the grade for the lab.

Since your grade is partially based on computer and homework assignments, they must be your own work. You can ask me questions about any aspect of an assignment and pursue general discussions with others on the system or on an approach to solving a problem. You may discuss high-level ideas and thoughts about a homework assignment with your other classmates, but you have to work out all details of any solutions discussed and write up the solution completely on your own. In particular, when working with a student on an assigned homework problem you should do so verbally -- Nothing should be written. This is aimed at keeping your discussion at a high level so everyone can work out the details on their own. Please follow the spirit of this rather than working to finds ways to share details verbally. Also you must clearly acknowledge anyone (except the instructor and TA) with whom you discussed any problem and say briefly what you discussed.

You are not allowed to read, copy, or rewrite the solutions written by others (in this or previous terms). Copying materials from websites, books or other sources is considered equivalent to copying from another student.

Every cheating (for example, copy homework solutions from the web, friends or other textbooks) will be reported to the office of academic integrity. If two people are caught sharing solutions then both the copier and copiee will be held equally responsible. Cheating on an exam will result in failing the course.

It is your responsibility to contact me in a timely manner if there are extenuating circumstances that impact your ability to perform in this class. Your grade is 'not given' by the instructor, but rather is earned by you through demonstrating your mastery of the subject.


Last modified by Jianhua Ruan,   jruan at cs.utsa.edu ,