Solving a recurrence: T(n)=3T(n/2)+n

后端 未结 4 1825
星月不相逢
星月不相逢 2021-01-07 05:09

I need to Find the solution of the recurrence for n, a power of two if T(n)=3T(n/2)+n for n>1 and T(n)=1 otherwise.

using substitution of n=2^m,S(

4条回答
  •  渐次进展
    2021-01-07 05:36

    Have a look here at page 60 http://www.cs.columbia.edu/~cs4205/files/CM2.pdf.

    And maybe you should have asked here https://math.stackexchange.com/

提交回复
热议问题