Shared publicly  - 
 
complexity - Which of the following is correct? a)If f(n) = Ο(g(n)) then h(f(n)) = Ο(h(g(n)))  b)If f(n) ≠ Ο(g(n)) then g(n) = Ο(f(n)) c)Both (a) and (b) d)None of the above ans given is b) but there is nothing given about functions so it is possible that there is some function like-. f(n)=n and g(n)=n^(2*sinn) then we cannot say  anything  i think it should  be d)
Which of the following is correct? a)If f(n) = Ο(g(n)) then h(f(n)) = Ο(h(g(n))) ... *sinn) then we cannot say anything i think it should be d)
1
Add a comment...