

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
Material Type: Assignment; Professor: Dorin; Class: Algorithms; Subject: Computer Science; University: Loyola Marymount University; Term: Spring 2009;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!
CMSI 282 Problem Set # Due January 29, 2009
h) Th(n) = if n = 1 then 1 else 16Th(n/2) + 5n^4 i) Ti (n) = if n = 1 then 1 else Ti(n/3) + 2 j) Tj(n) = if n = 1 then 1 else 3Tj(n/2) k) Tk(n) = if n = 1 then 1 else Tk(n/2) l) Tl(n) = if n = 1 then 10 else nTl(n/2) m) Tm(n) = if n = 1 then 10 else 16Tm(n/16) n) T(n) = if n = 1 then 1 else 2T(n-1) + 1 o) To(n) = if n = 1 then 1 else To(n-1) + n^2 (hint: see problem 1d, above) p) Tp(n) = if n = 1 then 1 else 2Tp(n/2) + n1. q) Tq(n) = if n = 1 then 10 else 16Tq(n/16) + n r) Tr(n) = if n = 1 then 10 else 16Tr(n/17) + n