![]() |
|
Instructor: Monica Nicolescu | ||||||||
|
||||||||
Teaching assistant: Richard Kelley | ||||||||
|
||||||||
Time and Place |
||||||||
| Tuesday, Thursday: 2:30pm-3:45pm, AB 634 | ||||||||
Required Textbook |
||||||||
| Introduction to Algorithms, Third Edition, 2009. Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein |
Course description |
| The design and analysis of algorithms is the core subject matter of Computer Science. Given a problem, we want to (a) find an algorithm to solve the problem, (b) prove that the algorithm solves the problem correctly, and (c) prove that we cannot solve the problem any faster. Designing an algorithm for a computational problem involves knowledge of the problem domain, a thorough knowledge of the data structures that are available and suitable and no small measure of creativity. This course concentrates on the above problems, studying useful algorithmic design techniques, and methods for analyzing algorithms. |
Prerequisites |
| CS 365. Good knowledge of data structures (such as linked lists and trees) and a good mathematical background are required. |
Syllabus |
| Following are the topics that will be discussed, listed in the approximate order in which they will be covered. |
|
Class schedule |
| The topics presented and the lecture notes for each class will gradually be posted below as we cover them in the class. The assignments and their due dates will also be posted in this table. Please check this web page regularly for updates.
For homework submission please include a typed cover sheet with your name, section number and homework number. It would be desired to type the rest of your homework, but handwriting will be accepted. You can find instructions about writing your homework with LaTeX on Richard's webpage. A template for writing your homework solution with LaTeX has been kindly provided by Nolan Warner (download). |
| Date | Topic | Readings | Assignments |
|
Aug 24 |
Introduction | Chapter 1, Appendix | --- |
|
Aug 26 |
Asymptotic notations, recurrences | Chapter 3, Appendix A | --- |
|
Aug 31 |
Solving recurrences | Chapter 4 | Hw1 out |
|
Sep 2 |
Solving recurrences, Sorting | Chapter 4, Chapter 2 | --- |
|
Sep 7 |
Sorting: Insertion Sort, Bubble Sort, Selection Sort | Chapter 2, Chapter 7 | Hw2 out |
|
Sep 9 |
Sorting: Mergesort, Quicksort | Chapter 7 | --- |
|
Sep 14 |
Sorting: Quicksort | Chapter 7 | Hw3 out |
|
Sep 16 |
The selection problem | Chapter 9 | --- |
|
Sep 21 |
Sorting in linear time | Chapter 8 | Hw4 out |
|
Sep 23 |
Lecture by Richard | --- | --- |
|
Sep 28 |
Heaps, Binary Search Trees | Chapter 6, Chapter 12 | --- |
|
Sep 30 |
Binary Search Trees, Red-Black Trees | Chapter 12, Chapter 13 | --- |
| Oct 5 | No class. | Chapter 14 | --- |
| Oct 7 | Augmenting Data Structures | Chapter 13 | Hw5 out |
| Oct 12 | Augmenting Data Structures, Hash Tables | Chapter 13, Chapter 11 | --- |
| Oct 14 | Mid-term review | --- | --- |
| Oct 19 | MID-TERM | --- | --- |
| Oct 21 | Mid-term review | Chapter 11, Chapter 15 | --- |
| Oct 26 | Hash Tables | Chapter 15 | --- |
| Oct 28 | No class. | --- | --- |
| Nov 2 | Dynamic Programming | Chapter 11, Chapter 15 | Hw6 out |
| Nov 4 | Dynamic Programming | Chapter 16 | --- |
| Nov 9 | Dynamic Programming | Chapter 16 | Hw7 out |
| Nov 16 | Greedy Algorithms | Chapter 22, Chapter 23 | --- |
| Nov 18 | Greedy Algorithms | Chapter 22, Chapter 23 | --- |
| Nov 23 | Graph Algorithms | --- | Hw8 out |
| Nov 30 | Graph algorithms | Chapter 23 | --- |
| Dec 2 | Graph Algorithms | Chapter 24 | --- |
| Dec 7 | Review lecture | --- | --- |
|
Dec 9 2:15pm-4:15pm |
Final Exam: comprehensive, with emphasis on material after mid-term | --- | --- |
Assignments and grading |
|||||||||||||||||||||||||||
|
Homework assignments: There will be 10 homework assignments. The homeworks and their due dates will be posted on the course web page. Homeworks are due on their specified date at the beginning of the class. Some assignments will contain extra-credit problems and some may have a programming component. For each assignment the undergraduate students are required to solve the problems labeled U-required, while graduate students are required to solve all the problems. For the assignments that include extra-credit problems, the undergraduate students can earn extra-credit by solving either the extra-credit or the graduate level problems. Solutions to all the problems assigned will be provided. Please make sure that you have a CS department computer account - you will need it for the programming assignments. You can obtain a CS department account by filling out the account registration form at the CS department. Late policy: each late homework will incur a 10% penalty for each day of delay, but no homeworks may be submitted later than 3 days after the deadline. Academic integrity: Students are encouraged to study together, however each student must individually prepare his/her solutions. Cheating or plagiarism are not permitted and will be sanctioned according with the UNR policy on Academic Standards. You should carefully read the section on Academic Dishonesty found in the UNR Student Handbook (copies of this section are on-line). Your continued enrollment in this course implies that you have read it, and that you subscribe to the principles stated therein. Exams: there will be one mid-term and one final exam. Both exams will be closed books, closed notes. Permission to take exams on other dates than scheduled will not be given, except for extreme medical emergencies.
Grading policy (tentative, subject to change):
Grading scheme (tentative, subject to change):
|
Announcements |
| Announcements regarding the assignments or other updates will be posted on the class web page
and also sent by e-mail. Please check your UNR e-mail account, as this is the address I will use to contact you. If needed, implement e-mail forwarding. |
|
Created by: Monica NICOLESCU (e-mail:monica@cs.unr.edu) |