0 votes 0 votes is it correct solution if it is correct please explain it. Programming in C programming + – iamdeepakji asked Nov 21, 2018 • recategorized Nov 21, 2018 by Sayan Bose iamdeepakji 357 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply kumar.dilip commented Nov 21, 2018 reply Follow Share Yes, It is correct. Here just count the number of function calls 1. Here the number of function calls is n ( if you draw the tree it will grow linearly) 2. Here there are two function calls inside the bar statement. (the tree will grow Exponentially) 0 votes 0 votes Hemanth_13 commented Nov 21, 2018 reply Follow Share The first mistake out of excitement I have done taken T(n)=3T(n-1) + 2 T(n-1) => T(n)=5T(n-1) +c Be conscious of mistakes like this :) 0 votes 0 votes kumar.dilip commented Nov 21, 2018 reply Follow Share Haha @Hemanth_13 be careful in this type of questions. 0 votes 0 votes Please log in or register to add a comment.