in Algorithms
368 views
0 votes
0 votes

Given the tight asymptotic bound for the recurrence equation :

T(n) = 2T($\frac{n }4{}$) + 1

 

  1. O(√ n)
  2. Ω(√ n)
  3. θ(√ n)
  4. O(n^2)

 

Using master’s theorem, the result comes to be θ(√ n). Thus option A,B,C are definitely correct.

According to the solutions option D is incorrect.

I don’t get it why. Can’t we write (√ n) = O(n^2) ?

Or is it because we are asked for the tightest asymptotic bound? 

Please do let know!

in Algorithms
368 views

4 Comments

It will be correct if “tight” keyword will not be there ?
0
0
haan bhai...
1
1
yes, i got it now. Thanks a lot!
1
1

Please log in or register to answer this question.