This is about analysis of algorithms: Say, the running time of a problem is:
T(n) = { 1, for n == 1 | T(n/3) + THETA(1), for n > 1}
Now, this is THETA(log base3 n)
But, if I use Master Method, I evaluate to THETA(log base2 n)
, using Case II
How am I supposed to get the correct answer from master method?