Cannot understand formula

give proper descriptions of variables used

Hello @mayankA47,

Master Method is a way to directly get the solution of a recurrence equation.
The master method works only for following type of recurrences or for recurrences that can be transformed to following type of equation:

T(n) = aT(n/b) + f(n) where a >= 1 and b > 1

Once, you have the above recurrence equation, the any of the following three cases can be used to find the solution:

  1. If f(n) = Θ(n^c) where c < Logba then T(n) = Θ(nLogba)

  2. If f(n) = Θ(n^c) where c = Logba then T(n) = Θ(ncLog n)

3.If f(n) = Θ(n^c) where c > Logba then T(n) = Θ(f(n))

check the value of f(n), and use the corresponding case from three mentioned above.

Hope, this would help.
Give a like, if you are satisfied.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.