Question: 1. Solve the following recurrence using the backward substitution method. for n > 1 T(n) =T (m - 1) + n T (1)=3 Show your
1. Solve the following recurrence using the "backward substitution" method. for n > 1 T(n) =T (m - 1) + n T (1)=3 Show your work similar to the example from the notes. You do not need to prove the correctness using mathematical induction. Just solve T(n) using 0 - notation, as a function of n. 2. Solve the following recurrence using the "change of variable" method. Use the change of variable m = log: n. Show you work similar to the example from the notes. T(n) = 9T (In) + 5(log; n)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
