
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The instructions and problems for homework 1 in the 22c: design and analysis of algorithms course offered in spring 2006. Students are expected to complete the assignments independently and without external help, but they may discuss the problems with their classmates. Four problems, each worth a certain number of points.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!
Due on Tuesday, February 14
You are expected to do the homework assignments on your own without consulting hu- man and non-human sources (like the web, books other than the textbook) for the solutions. You are welcome to discuss the homeworks with your classmates, but you are not allowed to take away from the discussion any written record, electronic or otherwise, of the discussion.
T (n) = 7 T (n/2) + n if n ≥ 2 T (n) = 1 if n < 2.
You should derive your solution by expanding the recurrence, noticing a pattern, and adding up a series, just as we did in class. There is no need for a more formal derivation.