CSCI 255 Fall 2013
Introduction to Algorithms and Discrete Structures
Archived Class
Charles Cusack
Computer Science
Hope College
Main
Schedule
Grading
Gradebook

Policies
Advice
College
    Policies

Notes
Programs
Tutorials

CSCI 385
MATH 160
Others

Admin

Homework 16

Details

The following problems are from pages 139-144 of ADM.
ProblemNotesGrading
4-12Prove that your algorithm has the specified complexity. Also, see the heading right above the problem. It may give you a hint about how you might want to approach the problem.Algorithm Rubric
4-18You should be able to do this in place (i.e. with a constant amount of extra memory). Prove that your algorithm has the specified complexity.Algorithm Rubric
4-28This one is really not that hard if you use some of your math skills.Computational Problem Rubric
4-32You are not limited to 20 questions. They just use that as a setup for the problem. For both parts, specify exactly how many questions are necessary as a function of n (not just a bound).Algorithm Rubric