retagged by
440 views
0 votes
0 votes
Can master's theorem be applied if b=1? Or strictly when b>1?
retagged by

2 Answers

1 votes
1 votes
Master's theorem
Master's theorem
0 votes
0 votes
b = 1 , Doesn't makes sense.

T(n) = T(n) + f(n) ,

Did you get what this recurrence relation is doing?

T(n) in each step doesn't divide or reduce the problem size. This will lead to infinite loop.

When b > 1

T(n) = T(n/2) + c

Problems size is reduced at each step here.

Hopefully you got it.

Related questions

0 votes
0 votes
1 answer
1
lolster asked Jun 12, 2019
1,331 views
How to check if a given recurrence relation is in a format that is valid to apply Master’s Theorem? Also, how to distinguish between Master’s Theorem and extended Mas...
0 votes
0 votes
0 answers
3
pradeepchaudhary asked Aug 20, 2018
912 views
T (n) = T (n/2) + 2nUsing Master's Method What is the Complexity Of This Recurrence Relation?Or Using AnyOther Method?
0 votes
0 votes
2 answers
4
manvi_agarwal asked Aug 10, 2018
1,794 views
Solution using back substitution methodT(n) = 2T(n/2) + nlogn ?detailed solution please.ans is nlognlogn or n(logn)^2