Use a recursion tree to determine a good asymptotic upper bound on the recurrence . Use the substitution method to verify your answer.

Rate of increase in number of subproblems in each recursion = 4 Rate of decrease in subproblem size = 2 with additional 2 inputs

Hence in each level of the tree, there are nodes each of cost at depth .

Hence, total cost of the tree is:

Now we have to show that our guess holds using the substitution method. Let’s refine our guess to for positive constants and .

The last step holds as long as .

If you have any question or suggestion or you have found any error in this solution, please leave a comment below.