edited by
753 views
0 votes
0 votes

Consider f (n), g(n) and h(n) be function defined as follows:

Which of the following represents correct asymptotic solution for f (n) + [g(n) × h(n)]?

A .  Omega(n^3)

B.   O(n^4)

C.   Theta(n^4)

D.   O(n^3)

What should be the correct way of solving such questions ?

edited by

1 Answer

0 votes
0 votes
Yeah (A) will be correct answer because f(n) is omega of n^3 which means f(n) >= (n^3) ,for that i can take any value greater than (n^3) and this is also adding with other function ,for that only omega of (n^3) can satisfy .

In option (B) is O (n^4) means <= n^4,what if i take f(n) as n^5,so (B) will be wrong answer
Answer:

Related questions

0 votes
0 votes
0 answers
2
0 votes
0 votes
0 answers
3
HeadShot asked Nov 30, 2018
239 views
Why not option B as F(n)= O( F(n) ) is trivial ?
0 votes
0 votes
1 answer
4
iamdeepakji asked Aug 31, 2018
1,244 views
What is all asymptotic notation of1. Big-oh2. Big-omega3. theta4. Small-oh5. Small-Omegasuch as theta has reflexive,symmetric and many moreplease write all properties.