Design and Analysis of Algorithms

CS 130B - Winter 2022

[ Home | Lectures | Homeworks ]


CLASS TIMES: Tu+Th 11am-12:15pm in HFH 1104
                        Zoom link available via Gauchospace
(Note, anyone at UCSB can view the Gauchospace course, and join as a course crasher.)

INSTRUCTOR:   Eric Vigoda,
TAs:   Achintya Desai, Michael Kuhn, Sara Medernach, MD Shafiuzzaman, Ethan Sifferman, Shubham Talbar, Sharath Vemula
Office hours: (Check Gauchospace)

TEXTBOOK: (required) Algorithms by Dasgupta, Papadimitriou, and Vazirani [DPV]
(Available at UCSB Bookstore or via Amazon)
(Note, exercise/section numbers may differ in unofficial online versions.)

Other good references:
Algorithms by Jeff Erickson
Algorithms Unlimited by Roughgarden
Algorithm Design by Kleinberg and Tardos
Introduction to Algorithms by Cormen, Leiserson, Rivest and Stein
(Some of these books are available online from the library)

  • Dynamic programming
  • RSA public-key cryptosystem
  • Divide-and-conquer strategies including FFT
  • Greedy: MST
  • NP-completeness

    1. Homeworks: 10%
    2. Daily quizzes: 10%
    3. 2 midterm exams: 50% (equally weighted)
    4. Final exam: 30%
      (The final will be cumulative but focused on NP-completeness.)

    Following every class there will be a short quiz posted on Gradescope. It is due by 11:59pm the following day. Note, this is a strict deadline. They are autograded so make sure to enter your answer in the correct format.
    There will be 2 midterm exams plus a final exam.
    The tentative exam dates are listed on the lecture schedule page.
    No books, no notes, no calculators.
    We will provide scrap paper.

    If you have special accommodations for testing or homeworks then you should discuss it with me during the first week of classes; I am new to UCSB so you need to give me adequate advance notice.

    Exam Absences:
    If you have an institute approved absence around an exam date then notify the instructor at least 10 days in advance and email me a copy of the institute approved absence from the Dean of Students. If you are sick for an exam then you need to submit documentation to the Dean of Students and then email the instructor an excused absence letter from the Dean of Students (we cannot be privy to any medical information).

    Any evidence of cheating or plagarism on homeworks or exams will be immediately reported to the Office of Student Conduct.
    You will be given a zero on that aspect (total homework grade for the course or that exam) AND your overall course grade will be lowered by one letter.
    There are typically multiple versions of the exam so it is easy to identify students who copy from other students.

    Homeworks are submitted via Gradescope.
    No late homeworks will be accepted since we will often discuss the solutions during
    class and solution sets will be posted to Gauchospace after the homeworks are collected.

    Homework solutions must be in your own words.
    It is probably best to try the homework on your own first. For the challenging problems, it might be useful to work together with other students. However, you should redo the solution from scratch by yourself, and write it up in your own words.
    List at the top of your homework who you collaborated with and any outside sources you consulted (including any solution sets you might have found on the web).
    Note homeworks are not worth much, the point of homeworks is to practice and learn the material so copying the solutions does not serve much purpose.
    We will typically do a fast grading of the homeworks and only of a subset of the problems, so you should double-check the solutions yourself.