Here,
n = size of the problem
a = number of subproblems in the recursion and a>=1
n/b = size of each sub problem
b>1, k>=0, and p is a real number
The complexity of the recurrence relation can be calculated directly by using the following three golden rules:
pics from google
No comments:
Post a Comment