0

I have this practice problem that I was given.

I am trying to solve a specific recurrence equation

T(n) = 4 when n <= 2 

T(n) = 3T(n/3) + 5 when n > 2

how would i go about to solve such a problem since I only really know how to solve Master Theorem and Divide and Conquer using the a and b but don't really know how to solve a problem like this.

I'm trying to get an exact answer as well

johnny
  • 1

0 Answers0