Question: Solve the following recurrence and identify the efficiency class they belong to (as Theta of): T(n) = T(n/3)+1 for n > 1 and T(1) =
Solve the following recurrence and identify the efficiency class they belong to (as Theta of):
T(n) = T(n/3)+1 for n > 1 and T(1) = 1. Assume n is a power of 3.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
