1 votes 1 votes $T(n) = \begin{Bmatrix} T(\frac{n}{k})+T(\frac{3n}{4})+n\ \ \ if\ n\geq2\\ 1 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ if\ n=1 \end{Bmatrix}$ Algorithms algorithms time-complexity recurrence-relation + – Supremo asked Feb 4, 2017 • retagged Jun 4, 2017 by Arjun Supremo 338 views answer comment Share Follow See 1 comment See all 1 1 comment reply bhargav9873 commented Feb 14, 2017 reply Follow Share The question doesn't tell anything about what is 'K' Is it n/4 by any chance I mean there is somekind of typing mistake 1 votes 1 votes Please log in or register to add a comment.
1 votes 1 votes yeah it shld be n/4; then the solution is by tree method at each level work done is n and the height of tree is log n to the base 4/3; therefore total work done is n*log n to the base 4/3 Shashank Kumar Mishr answered Mar 8, 2017 Shashank Kumar Mishr comment Share Follow See all 0 reply Please log in or register to add a comment.