in Algorithms
364 views
2 votes
2 votes

Let f (n) = Ο(n), g(n) = Ο(n) and h(n) = θ(n).

Then [f (n) . g(n)] + h(n) is _______.

a.Ω(n)

b.Ο(n)

c.θ(n)

d.None of these

in Algorithms
by
364 views

4 Comments

Okay...thank you Sir

And another thing..can we consider f(n)=1/n for such type of  problems  though it is practically impossible for any program?
0
0
yes, we can consider 1/n also and in fact if f(n)=1/n then f(n) is O(1).
0
0
Okay thanks :)
0
0

Please log in or register to answer this question.

Related questions