0 0 votes T(N) = 3T(N/4) + NlogN T(N) = 2T(N/2)+ NlogN Master theorem applicable to this ?? Algorithms algorithms master-theorem recurrence-relation + – jatin khachane 1 3.0k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
5 5 votes Second one is not applicable abhishekmehta4u answered Jul 23, 2018 abhishekmehta4u comment Share Follow See all 15 Comments 15 15 Comments reply jatin khachane 1 commented Jul 23, 2018 reply Follow flag Can u explain in detail 1 1 replyShare abhishekmehta4u commented Jul 23, 2018 reply Follow flag Find the ratio of f(n) /$n^{loga}$ (baseb) . If the ratio ia logn then master is not applicable 1 1 replyShare jatin khachane 1 commented Jul 23, 2018 reply Follow flag How to decide function is polynomially larger or asymptotically larger ?? 0 0 replyShare jatin khachane 1 commented Jul 23, 2018 reply Follow flag For every example will it work ? Ratio = logn => master not applicable Otherwise => Applicable 1 1 replyShare abhishekmehta4u commented Jul 23, 2018 reply Follow flag Yes alwaya applicable . 1 1 replyShare bhavnakumrawat5 commented Jul 23, 2018 reply Follow flag So What is The Time Complexity of T(n)=2T(n/2)+nlogn 0 0 replyShare Abbas commented Aug 1, 2018 reply Follow flag @bhavnakumrawat5 : Answer will be, $\Theta (nlog^{^{2}}n)$ Here is the reference https://en.wikipedia.org/wiki/Master_theorem_(analysis_of_algorithms)#Inadmissible_equations 0 0 replyShare gauravkc commented Aug 1, 2018 reply Follow flag The basic form of Master's theorem won't be applicable but extended Master's theorem will work. 1 1 replyShare Ravi Dubey commented Aug 11, 2018 reply Follow flag @gauravkc you are right, this question is worthless trying. 0 0 replyShare Verma Ashish commented Aug 14, 2018 reply Follow flag Sir whether it is basic master's theorem or advanced master's theorem?? Please reply. 0 0 replyShare Abbas commented Aug 14, 2018 reply Follow flag @Ashish: No body is sir here...and yes it's advanced I think... 0 0 replyShare Verma Ashish commented Aug 14, 2018 reply Follow flag In advanced master's theorem there is no such restriction is given. 0 0 replyShare Verma Ashish commented Aug 14, 2018 reply Follow flag I'm talking about this- 0 0 replyShare Prince Sindhiya commented Aug 14, 2018 reply Follow flag @abhishekh Mehtasee the pic uploaded by @verma Ashish according to this , a=2,b=2,k=1 so a=$b^k$ is true So complexity will be $\theta(nlog^2n)$ From where you read about it$(\frac{f(n)}{n^{log_ba}}=log_ba)$then master is not applicable please give the reference about it 2 2 replyShare Mayankprakash commented Nov 2, 2018 reply Follow flag @abhishek Mehta @shaik Please suggest whether pic uploaded by Abhishek is correct? 0 0 replyShare Please log in or register to add a comment.