1 votes 1 votes Can anyone solve this recurrence relation T(n) = 3T(n-1) + O(n^2) Its ans is O(3^n n^2) Algorithms recurrence-relation algorithms time-complexity asymptotic-notation + – MonuKhan asked Jan 12, 2023 MonuKhan 614 views answer comment Share Follow See all 11 Comments See all 11 11 Comments reply Show 8 previous comments rd8794 commented Jan 13, 2023 reply Follow Share applying masters theorem for decreasing function may also give the required result. for a > 1, T(n) = O (a^(n/b) * f(n)) or O (a^(n/b) * nk ) T(n) = O (3^(n/1)*n^2) 0 votes 0 votes ankitgupta.1729 commented Jan 13, 2023 reply Follow Share @Abhrajyoti00, Interestingly, here $T(n)= \Theta(3^n)$. Terms with $n^2 3^n$ and $n3^n$ will be cancelled when you solve the whole equation which you had written. I have edited and solved the summation which you are finding difficult. 2 votes 2 votes Abhrajyoti00 commented Jan 13, 2023 reply Follow Share Thank You So Much @ankitgupta.1729 Sir. 1 votes 1 votes Please log in or register to add a comment.