Question: Using the substitution method, show that 1 ) The solution of T ( n ) = T ( n 2 ) + 1 is O

Using the substitution method, show that
1) The solution of T(n)= T(n2)+1 is O(log(n))
2) ThesolutionofT(n)=T(n2)+nisO(nlog(n))and\Omega (nlog(n))3) ThesolutionofT(n)=T(n2+17)+nisO(nlog(n))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!