CSC517-R: Algorithms


Prof. B. Rosenberg
Fall Semester, 2002-3 (031)
TR 1:40-2:55
Memorial Building, Room 215
The Class Syllabus

Grader: nytrewalla@hotmail.com
Office Hours: Sat 4-8 PM, Wed 7-9 PM


Exams

Announcements:

Notes

Projects Csc401 students only.

  1. Write merge-sort. See heapsort for a model.
  2. Write quick-sort. See heapsort for a model.
  3. Write a hashing program. Hash on strings (say, people's names). Use the open-chaining method. Support Find, Insert and Delete operations.
    Above projects due by midterm
  4. Write a tree search program. Use a hash of a string (say, a person's name) as the key. Resolve hash collisions by continuing the tree search. Support Find, Insert, Delete and PrintTree operations.
  5. Write a program solving Problem 15-1 (16-1 in 1-st edition). You input should be a sequence of integer pairs (the point coordinates as integers) taken from a file.
    Above projects due 1 week before last class
Homework
  1. Problems 3-2 and 3-3.
    (In First Edition, these are problems 2-2 and 2-3.)
    Due Sept 24.
  2. Exercises 6.2-1, -3, -4 and -5. Exercises 6.3-1, -2 and -3.
    (In First Edition, these are exercises 7.2 all except -5, 7.3 all.)
    Due Oct 3.
  3. Problems 7-1, 7-3, 7-4.
    (In First Edition, Problems 8-2, 8-3, 8-4.)
    Due Oct 10.
  4. Exercises 11.2-4, 11.4-1 and 11.4-4
    (In First Edition, Exercises 12.2-5, 12.4-1 and 12.4-4.)
    Due Oct 29.
  5. Exercises 12.1-2, 12.1-3 and 12.1-5, and Problems 13-1, 13-2.
    (In First Edition, Exercises 13.1-2, 13.1-3, and 13.1-5, and Problems 14-1 and 14-2.)
    Due Nov 5.
  6. Exercise 15.4-5, Problems 15-1, 16-1 (Exercise 16.3-5, Problems 16-1, 17-1, 1-st Edition)
    Due Nov 19.
  7. Exercises 22.2-1, 22.2-2 and 22.2-8, 22.3-3, 22.3-7. (Exercises 23.2-1, 23.2-2 and 23.2-8, 23.3-2, 23.3-6 in 1-st Edition)
    Due Dec 3.