{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# ps8 - Introduction to Algorithms Massachusetts Institute of...

This preview shows pages 1–2. Sign up to view the full content.

Introduction to Algorithms November 14, 2005 Massachusetts Institute of Technology 6.046J/18.410J Professors Erik D. Demaine and Charles E. Leiserson Handout 23 Problem Set 8 MIT students: This problem set is due in lecture on Monday, November 21, 2005. The home- work lab for this problem set will be held 2–5 P . M . on Sunday, November 20, 2005 . Reading: Section 22.1-22.2, Chapter 24. Both exercises and problems should be solved, but only the problems should be turned in. Exercises are intended to help you master the course material. Even though you should not turn in the exercise solutions, you are responsible for material covered in the exercises. Mark the top of each sheet with your name, the course number, the problem number, your recitation section, the date and the names of any students with whom you collaborated. Please staple and turn in your solutions on 3-hole punched paper . You will often be called upon to “give an algorithm” to solve a certain problem. Your write-up should take the form of a short essay. A topic paragraph should summarize the problem you are solving and what your results are. The body of the essay should provide the following: 1. A description of the algorithm in English and, if helpful, pseudo-code. 2. At least one worked example or diagram to show more precisely how your algorithm works. 3. A proof (or indication) of the correctness of the algorithm. 4. An analysis of the running time of the algorithm. Remember, your goal is to communicate. Full credit will be given only to correct solutions which are described clearly . Convoluted and obtuse descriptions will receive low marks.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.
• Fall '05
• ErikD.DemaineandCharlesE.Leiserson
• The Entrance, New South Wales, Turn LP, CLRS, Thomas H. Cormen, Charles E. Leiserson

{[ snackBarMessage ]}