CSE 101, Winter 2001                     Final Solutions ps, pdf.


TITLE. CSE 101, Design and Analysis of Algorithms, Center 115 (*** YORK 2722 STARTING THURSDAY, JANUARY 17th ***) TuTh 7:05-8:25pm

INSTRUCTOR AND TEACHING ASSISTANTS.

AFTER THIS FRIDAY, JANUARY 25. THE FRIDAY SECTION IS MOVED TUESDAY 11:15-12:05, WLH 2111. The reason for this move is to allow students more time to review the homework to prepare questions for section.

REQUIRED TEXTBOOK. Cormen, Leiserson, Rivest and Stein, "Introduction to Algorithms", SECOND EDITION.

USEFUL LINKS. This page contains useful links for this course. This page contains even more useful links for the course.

DISCUSSION BOARD ON THE WEB. There is a Discus web-based message board for questions that are of interest to other students. This board will be shut down, or postings will be moderated, if inappropriate use occurs. "Inappropriate" includes any distribution of homework solutions, and any offensive material.

THEMES. The goal is for students to acquire a toolkit/mindset for design (and analysis) of practical algorithms and heuristics for useful applications. The class will be built around three fundamental elements: (1) toolkits including solution of recurrences, use of loop invariants, elementary discrete mathematics, reduction, and problem-solving patterns; (2) classic problems (i.e., applications) including sorting, shortest paths, arithmetic, string processing, and computational geometry; and (3) algorithm design paradigms including Divide-and-Conquer (DQ), Dynamic Programming (DP), Greed, Implicit Enumeration (e.g., Branch-and-Bound), and Meta-Heuristic. Where possible, we will look for interesting problem formulations from practical applications.

IMPORTANT LOGISTICS.

ADMINISTRATION. There will be 2 in-class quizzes, as well as one in-class midterm (February 7th). There will be 6 homework assignments. No late homework will be accepted, as solutions will be posted on the web. Grades will be determined by Homework+Quizzes (40%), Midterm (25%), and Final (35%).

SYLLABUS AND SCHEDULE. This will become more refined, and is subject to change, as we go through the quarter.

HOMEWORK.

  • HOMEWORK 5. Assigned: February 25th. Due: THURSDAY, March 7th at end of class.
  • HOMEWORK 6. Assigned: March 7th. Due: FRIDAY, March 15th at 6PM.
  • PRACTICE PROBLEMS.

    LECTURE NOTES. here on the class web page. Eventually (perhaps after first week), the notes will be posted at least a day in advance of the class. (January 10: I have had requests for 4-up PDF's. PowerPoint does not "print" handouts in this form; you can use Distiller and any number of "green" postscript manipulation utilities to construct a 4-up printout.)

    HOMEWORK SOLUTIONS.

    SECTION NOTES.

     The following section notes are either in HTML, Acrobat Portable Document Format (PDF), PostScript (PS)
     

    MIDTERM PRACTICE PROBLEMS.

    MIDTERM SOLUTIONS.

    QUIZ 2 PRACTICE PROBLEMS, SOLUTIONS.

    FINAL PRACTICE PROBLEMS