I want to solve analytically this relation :
T[n] =1/n * T^2[n/2]+n
We know n is a power of 2.
I know I can't use master theorem. I tried to replace and replace till I get something.
I want to solve analytically this relation :
T[n] =1/n * T^2[n/2]+n
We know n is a power of 2.
I know I can't use master theorem. I tried to replace and replace till I get something.
Copyright © 2021 Jogjafile Inc.
Proposing
T[n] = a*nand substituting we havea*n = 1/n*(a n)^2/4+a*nand thena = a^2/4+1or(a-2)^2 = 0henceT[n] = 2*nis a solution.