CS 361: Algorithms and Data Structures |
Assignments will be collected at the beginning of the class period. Please bring a hardcopy to turn in. Your assignment can be hand-written or typed. On the front page of your assignment, please write down the definition of Big-Θ for your reference. |
I realized that the wording for question 2.6 is not as precise as it could be. In particular, part (a) says "give a bound" whereas part (b) says "show a bound". For both part (a) and part (b), please *prove* that your bound holds. In other words, go through the same process you did for question 1 and 2. This way, when you're done, you'll have actually proven a Big-Θ bound. Also, for part (c), when it says "give an algorithm" what that means is to write your own pseudocode for the problem. Your pseudocode should be asymptotically better than the pseudocode in the book. |