0 votes 0 votes Please tell how to apply Akra Bazii in the following recurrence : T(n)=T(n/2)+ T(n/4) +n2 Algorithms recurrence-relation algorithms time-complexity asymptotic-notation + – LavTheRawkstar asked Feb 1, 2017 • retagged Jun 4, 2017 by Arjun LavTheRawkstar 421 views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments joshi_nitish commented Oct 29, 2017 reply Follow Share yes, it will be O(n2).. 0 votes 0 votes just_bhavana commented Oct 29, 2017 reply Follow Share @nitish verify this T(n) = T(n/2) + T(n/4) + n2 T(n) <= T(n/2) + T(n/2) + n2 T(n) <= 2T(n/2) + n2 And then applied Master's theorem, a = 2, b = 2, k = 2 and p = 0 Since a < bk and p>=0, T(n) = O(nk(logn)p) = O(n2) 0 votes 0 votes joshi_nitish commented Oct 30, 2017 reply Follow Share i have done using tree method.. try to apply tree method for these qsns, though here it doesn't affect answer, sometime it might give incorrect answer.. 0 votes 0 votes Please log in or register to add a comment.