CS 515: Algorithms and Data Structures (Fall 2017)

Instructor: Amir Nayyeri (Office hours: Wed 2-3pm at KEC 3061)

TA: Marjan Adeli (Office hours: Tue 2:30-3:30pm at KEC Atrium)

Lectures: Tue, Thr 18:00-19:20 in KEAR 212


Tentative topic list: Recursive algorithms, Dynamic programming, Greedy algorithms, Randomized algorithms and data structures, Treaps, Hashing*, Network flow, Linear programming, Approximation algorithms*.

Prerequisites: Graduate standing in computer science and an undergraduate course in algorithms. I assume that the students are comfortable with CS325 material. (If you have not taken any undergraduate algorithm course, I strongly recommand taking CS519-005 before this course.)

Evaluation:

Resources:


Announcements:


Homework:


Lectures:

  1. Thr 9/21: Course introduction, Recursion.

  2. Tue 9/26: (1) Recursion (Sections 1.2 to 1.5); Hanoi Tower, merge sort, QSort. (2) Induction (Section 6); Tiling by triominos.

  3. Thr 9/28: Recursion (Sections 1.5 to 1.8) Pancake sorting, binary sequences with no consecutive ones, median selection.

  4. Tue 10/3: (1) Recursion (Sections 1.8); Median selection. (2) The closest pair of points.

  5. Thr 10/5: (1) Strassen algorithm for matrix multiplication. (2) Dynamic programming ; Introduction, Longest increasing subsequence.

  6. Tue 10/10: (1) Dynamic programming ; Longest increasing subsequence, edit distance. (2) Knapsack . (3) Shimbel's single source shortest paths algorithm HW1 Due.

  7. Thr 10/12: (1) All pairs shortest paths.

  8. Tue 10/17: (1) All pairs shortest paths. (2) Dynamic programming on trees (Section 5.9); Maximum indepedent set.

  9. Thr 10/19: (1) Greedy Algorithms; Job scheduling, Huffman codes.

  10. Tue 10/24: (1) Greedy Algorithms; Huffman codes. HW2 Due.

  11. Thr 10/26: No class.

  12. Tue 10/31: Midterm. Grades: 105 103 96 95 95 90 90 89 89 80 80 79.25 77 75 73.25 73 71.25 70.25 70 70 70 70 69.25 68 66.25 65 62.5 58 58 57.5 55 44.25 42.5 40.5 34.25 6

  13. Thr 11/2: Randomized algorithms; Probability overview, Deterministic vs. randomized algorithms, Bolts and nuts example.

  14. Tue 11/7: Randomized algorithms; Probability overview, Deterministic vs. randomized algorithms, Bolts and nuts example. (2) Minimum enclosing circle.

  15. Thr 11/9: TBD.