Question: 3. (20 points, 10 each) Put the following recurrence relations into closed form: State any assumptions made a) T(n) = 2T(n-2) + 1 T(2) =

3. (20 points, 10 each) Put the following recurrence relations into closed form: State any assumptions made a) T(n) = 2T(n-2) + 1 T(2) = 4 Hint: Use parentheses to isolate T(n-j) when expanding b) T(n) = 2T(n/4) +2 T(1) = 1 => Hints: Assume n= - 4k k= log4 n Use parentheses to isolate T(n/41) when expanding
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
