Messages

  • Hello World!

Learning outcomes and competences

After attending this course, participants should be able to
  • Given an algorithm, analyze its correctness and running time.
  • Given a problem, design a correct and efficient algorithm for it, express it in a form that a programmer can easily convert into code.
  • Have an idea about what problems are intractable, and basic algorithms for those that are tractable.
  • Know the mathematical techniques that you will need to analyze your algorithms.

  • Course introduction

    Topics

    In this course we will discuss some basic techniques for algorithm design and analysis, including:
    - Divide-and-conquer
    - Dynamic programming
    - Greedy algorithms
    - Graph algorithms
    - NP-completeness
    - Approximation and randomized algorithms

    Lecturer

    Qin Zhang
    In-person office hour: Wednesday 1-2pm, Luddy 3044
    Email: qzhangcs@indiana.edu

    Associate Instructors

    Nikolai Karpov
    Email: nkarpov@iu.edu
    Office hour: Thursday, 2-3pm, at Luddy 2033D.

    Time and place

    3:00 PM–4:15 PM Monday/Wednesday, Myles Brand Hall (Informatics) E107


    Texbooks

    Required Textbook: [KT] Algorithm Design, J. Kleinberg, E. Tardos. Pearson Education.


    Tentative Schedule

    - Preparation (overview, Big-O notations, some basic problems and running times, graph representation, graph traversal, topological sort), 4 lectures
    - Greedy algorithms (interval scheduling, shortest path, MST), 5 lectures
    - Divide-and-conquer (mergesort, counting inversions, closest pair, integer multiplication, FFT), 6 lectures
    - Mid-term
    - Dynamic programming (weighted interval scheduling, subset sum, sequence alignment, all pair shortest path), 6 lectures
    - NP-completeness (polynomial reduction, NP-completeness proofs), 4 lectures
    - Appoximation and randomized algorithms (finding median, clustering, closest pair), ? lectures
    - Final

    Grading

    • Assignments 30%

      Five written assignments. Assignments are posted in Canvas. The answers should be submitted via Canvas . Please typeset in your favorite software (best in Latex).
      No extensions or late homework will be granted (unless emergencies; medical emergencies need doctor's notes covering the deadline dates).

    • Exams 70%

      (1) Mid-term 30%
      (2) Final 40%
      There will be NO make-up exams. If students have to miss the in-class midterm exam due to family/medical emergencies (and/or other reasons which will be granted on a case by case basis; medical emergencies need doctor's notes covering the exam dates), they need to contact the instructor before the exams for permission, and their other exam grades will be re-weighted. Internship and job application interviews and paper deadlines are NOT proper reasons to miss an exam.

    Course policies

    For assignments, students may discuss answers with anyone, including problem approaches and proofs. But all students must write their own proofs, and write-ups. The names of all people that you have talked to should be listed at the beginning of the first page. If a solution comes from existing papers/web/books, they must be properly cited, and you must write the solution in a way that demonstrates your understanding (simply copying the solution will be considered as plagiarism, and will result an "F" for the entire course). All deadlines are firm. No late assignments will be accepted unless there are legitimate circumstances.
    For more details, see Indiana University Code of Student Rights, Responsibilities, and Conduct.

    Prerequisites

      CSCI-C241 "Discrete Structures for Computer Science", CSCI-C343 "Data Structures", and MATH-M 216 "Analytic Geometry and Calculus II" (or MATH-M 212 CALCULUS II). The prerequisites are enforced.