Homework 1
- Assigned: Thursday, September 10, 2015
- Due: Friday, September 25, 2015
- General Instructions:
- Please review the homework and grading policy outlined in the course information and homework page.
- Please use a cover sheet, as described in the homework page.
- You must also write down with whom you worked on the assignment, and any sources used.
- Start early, be concise but rigorous, and enjoy!
- Be sure to review any parts of Chapters 1-4 with which you are
not familiar.
- All logs are base 2 unless otherwise specified.
- Unless otherwise specified, all problems and exercises are from
CLRS, Introduction to Algorithms, 3rd edition.
- Problems to do but not hand in:
- Problem 2-3.
- Problem 2-4.
- Problems To Hand In:
-
- Show that for any positive real constants a, b, and d, (an + b)d = Θ(nd).
- Is 34n = O(24n)? Is 34n = 2O(4n)
- Exercise 3.2-4 and 3.2-5. Bounds on Functions.
- Problem 3-4 a, b, g, h . Big-O and other notation.
- Place the following functions by order of growth, from smallest
to largest. For each adjacent pair in the list, give a proof that the
earlier one is assymptotically smaller than (or equal to ) the second, by giving a
big-O proof.
- n2
- n2 - n/ lg n
- n1.01
- 2n
- 3n/2
- 4lg lg n
- lg3 n
- 4lg n
- 16 n + 10000
- (lg n)lg n / lg lg n
- Exercise 4.4-3. 4.4-8. and Problem 4-3. b, c, h, j. For each
recurrence, provide an upper
bound. If the recurrence cannot be solved by the master method, you must justify the
solution via a substitution proof or by drawing a recursion tree.
- Problem 4-5. Chip Testing.