

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CSE 202 Final Examination March 2010
Maximum points: 60
Due March 17, 3:00 PM. Return the solutions at CSE 4246. No late submissions.
(a) Introduction to Algorithms (Cormen, Leiserson, Rivest, Stein) (b) Algorithm Design by Kleinberg and Tardos (c) Algorithms by Dasgupta, Papadimitriou and Vazirani
(a) Write your solutions neatly. Proofread them before you submit. (b) Clearly state the main ideas and strategies used in developing the algorithm. The quality of the high-level description of the algorithm is an essential determinant of your grade. (c) Write the algorithm using a high-level pseudo language providing important details. (d) If you are using a modified version of a well-known algorithm, show clearly what your modifications are. (e) If you are using a well-known algorithm without any modifications, it is enough to specify how you plan to apply the algorithm (for example, by specifying the input). (f) Provide a detailed proof of correctness. (g) Analyze the time complexity of your algorithm.
(a) Give an example (with the items in sorted order) where this heuristic is not optimal. (b) Assume the jobs are sorted in decreasing order of time required. Show an upper bound of 5 / 4 on the ratio between the optimal solution and that found by the greedy heuristic. 5 / 4 is not the best known ratio for this algorithm. You can do better. If you prove a ratio of 7/6 or better, you would get 5 extra credit points.