f05-hwex - CS 473G: Combinatorial Algorithms, Fall 2005...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 473G: Combinatorial Algorithms, Fall 2005 Homework 0 Due Thursday, September 1, 2005, at the beginning of class (12:30pm CDT) Name: Net ID: Alias: I understand the Homework Instructions and FAQ. • Neatly print your full name, your NetID, and an alias of your choice in the boxes above. Grades will be listed on the course web site by alias. Please write the same alias on every homework and exam! For privacy reasons, your alias should not resemble your name or NetID. By providing an alias, you agree to let us list your grades; if you do not provide an alias, your grades will not be listed. Never give us your Social Security number! • Read the “Homework Instructions and FAQ” on the course web page, and then check the box above. This page describes what we expect in your homework solutions—start each numbered problem on a new sheet of paper, write your name and NetID on every page, don’t turn in source code, analyze and prove everything, use good English and good logic, and so on—as well as policies on grading standards, regrading, and plagiarism. See especially the course policies regarding the magic phrases “I don’t know” and “and so on”. If you have any questions, post them to the course newsgroup or ask during lecture. • Don’t forget to submit this cover sheet with the rest of your homework solutions. • This homework tests your familiarity with prerequisite material—big-Oh notation, elemen- tary algorithms and data structures, recurrences, discrete probability, and most importantly, induction—to help you identify gaps in your knowledge. You are responsible for filling those gaps on your own. Chapters 1–10 of CLRS should be sufficient review, but you may also want consult your discrete mathematics and data structures textbooks. • Every homework will have five required problems. Most homeworks will also include one extra-credit problem and several practice (no-credit) problems. Each numbered problem is worth 10 points. # 1 2 3 4 5 6 * Total Score Grader CS 473G Homework 0 (due September 1, 2005) Fall 2005 1. Solve the following recurrences. State tight asymptotic bounds for each function in the form Θ( f ( n )) for some recognizable function f ( n ). You do not need to turn in proofs (in fact, please don’t turn in proofs), but you should do them anyway, just for practice. Assume reasonable but nontrivial base cases. If your solution requires specific base cases, state them! (a) A ( n ) = 2 A ( n/ 4) + √ n (b) B ( n ) = max n/ 3 <k< 2 n/ 3 ( B ( k ) + B ( n- k ) + n ) (c) C ( n ) = 3 C ( n/ 3) + n/ lg n (d) D ( n ) = 3 D ( n- 1)- 3 D ( n- 2) + D ( n- 3) (e) E ( n ) = E ( n- 1) 3 E ( n- 2) [Hint: This is easy!] (f) F ( n ) = F ( n- 2) + 2 /n (g) G ( n ) = 2 G ( d ( n + 3) / 4 e - 5 n/ √ lg n + 6 lg lg n ) + 7 8 √ n- 9- lg 10 n/ lg lg n + 11 lg * n- 12 ?...
View Full Document

This note was uploaded on 01/22/2012 for the course CS 573 taught by Professor Chekuri,c during the Fall '08 term at University of Illinois, Urbana Champaign.

Page1 / 35

f05-hwex - CS 473G: Combinatorial Algorithms, Fall 2005...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online