Question: ( b ) Prove that the solution to the following recurrence is T ( n ) = Theta ( n ) . Assume T

(b) Prove that the solution to the following recurrence is T (n)=\Theta (n). Assume T (1)=1.
T (n)= T (n/3)+ T (3n/5)+ n.
(Hint: One approach would be to ignore the floors and use a recursion tree. Another more formal approach for the upper bound would be to use induction. Set your hypothesis to be that T (n)<= cn for all n < m, for a constant c. Then establish the induction step that T (m)<= cm and in the process derive a bound on the constant c. Both approaches are acceptable.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!