Jeremy Ting edited p1.tex  about 10 years ago

Commit id: c92375ec9701426b262feae23215efa24cb54464

deletions | additions      

       

\item  $T(n) = 5T(\frac{n}{5})+ \frac{n}{lgn}$  So if we are to look at the recursion tree this relation creates we can observe that at the jth level there will be $5^j$ nodes. Each node will only have a problem of the size $\frac{n}{5^j}$ so at each node the time to complete it will be $(n/5^j)/log(n/5^j)$ Know this if we sum over all the log(n) levels we get: