Homework solutions:
Several people have asked me about solutions for the assignment.
Some hints and adequate algorithm running times are posted in the
newsgroup.
You are welcome to come to office
hours, or use the newsgroup and email if you have any questions about
solving the problems.
What do I expect you to know for the test?
What is the format of the test?
It will be a series of 4-5 problems similar in style to those on the
homework, except (hopefully) much easier. You will do 3-4 of them.
You will have a choice of which problems to solve.
You should be able to apply the ideas required for the homework to solve
the test questions.
What is the format of the questions?
You will be asked to devise an efficient algorithm (possibly using one
of the methods covered), prove or argue it correct, and justify its
running time. You will receive less marks for an obviously inefficient
algorithm (eg. O(n^2 log n) vs. O(n log n)). You will generally receive
even fewer marks for an incorrect algorithm.
Some questions may give you an algorithm and ask you to prove, analyze,
give a counter-example, or modify it in some way. Some questions may ask
you for properties of algorithms, running times, or asymptotic notation
or efficiencies.
How long is the test?
It will be 90 minutes long. Time should be sufficient if
you have kept up with the homework.
Copyright ©
Richard Krueger
All rights reserved. |