2 votes 2 votes T(n)= C+T(n-1), if n>1 = d, if n≤ 1 What is tme complexity? Algorithms recurrence-relation cormen + – Sandeep Suri asked Aug 1, 2017 • retagged Jul 9, 2022 by Lakshman Bhaiya Sandeep Suri 427 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Complexity would be : C*(n-1) + d reduce it asymptotically according to C and d. saxena0612 answered Aug 1, 2017 • edited Aug 1, 2017 by saxena0612 saxena0612 comment Share Follow See all 2 Comments See all 2 2 Comments reply Sandeep Suri commented Aug 1, 2017 reply Follow Share Unable to understand can you explain in detail. 0 votes 0 votes saxena0612 commented Aug 1, 2017 reply Follow Share Updated ! check it 0 votes 0 votes Please log in or register to add a comment.