edited by
2,239 views
1 votes
1 votes
=====>f(n)=3n^2+4n+2. What will be the exact value for f(n)

            a) theta(n^2)

            b)o(n^2)

            c)O(n^2)

            d)omega(n^2)

             Please provide the reason too.

======>f(n)=o(g(n)) if and only if

              a)g(n)=omega(f(n))

              b)g(n)=small omega(f(n))

              c) g(n)=omega(f(n)) and g(n)=small omega(f(n))

              d) None of these.

Please provide reason.
edited by

1 Answer

0 votes
0 votes
1) Answer is A.  Theta(n^2) it is because we have constants n^2  /4 <= f(n) <= 5 n^2 which hold always.

2) B.  See clrs book. Directly given

Related questions

0 votes
0 votes
1 answer
1
1 votes
1 votes
1 answer
2
saumya mishra asked Jul 11, 2018
910 views
Arrange them in increasing order
1 votes
1 votes
2 answers
3
Devshree Dubey asked Mar 6, 2018
540 views
Find theta bound forf(n)=$n^2/2 -n/2$
0 votes
0 votes
0 answers
4
debanjan sarkar asked Jan 12, 2019
465 views
Find a growth rate that cubes the run time when we double the input size. That is, if T(n) = X, then T(2n) = x^3.