• edited by
980 views
2 2 votes

2. Fill the following blanks with the notations $O, o, \Omega, \omega$, or $\Theta$. Use $o$ if both $O$ and $o$ are applicable. Use $\omega$ if both $\Omega$ and $\omega$ are applicable. Use $\Theta$ if both $\Omega$ and $O$ are applicable. To distinguish $O$ and $o$, write "big-O" for $O$.
a) $n=$ $\qquad$ $(2 n)$.
b) $0.2 n=$ $\qquad$ (2 $\log n$ ).
c) $2^{n}=$ $\qquad$ $\left(n^{6}\right)$.
d) $2 n \log n=$ $\qquad$ $\left(n^{2}\right)$.

1 Answer

0 0 votes
a) Theta

b) Both Big and small Omega applicable --> small Omega

c)Both Big and small Omega applicable --> small Omega

d)Both Big and small O applicable --> small O
Position:
Show:

Related questions

2 2 votes
1 1 answer
935
935 views
92komal asked Jan 26, 2018
935 views
plz help me . how to solve that type of questionQ. 1Consider $f(n), g(n)$ and $h(n)$ be function defined as follows:\[\begin{array}{l}f(n)=\Omega\left(n^{3}\right) \\g(n)...
0 0 votes
1 1 answer
679
679 views
Chaitanya Kale asked Nov 10, 2022
679 views
Can we write f(2$^{n/a}$) = Θ(2$^{n}$) for any integer a >0?
1 1 vote
2 2 answers
2.6k
2.6k views
Lakshman Bhaiya asked Nov 1, 2018
2,625 views
Consider the following statements:$(1)$ Any two functions $f,g$ are always comparable under big Oh,that is $f=O(g)$ or $g=O(f)$$(2)$ If $f=O(g)$ and $f=O(h)$ then $g(n)=\...
1 1 vote
0 0 answers
1.1k
1.1k views
NIKU asked Nov 14, 2017
1,058 views
int unknown(int n) {inti, j, k = 0;for (i = n/2; i<= n; i++)for (j = 2; j <= n; j = j * 2)k = k + n/2;return k;}What is the returned value of the above function? (GATE CS...