715 views
0 votes
0 votes
In the context of merge sort, which of the following are true?

$1.\ T(n)\ =\ o(n^2)\\ 2.\ T(n)\ =\ O(n^2)\\3.\ T(n)\ =\ \omega(n)\\4.\ T(n)\ =\ \Omega(n) $

1 Answer

1 votes
1 votes
If I need to answer I go with 1st and 3rd,merge sort is nlogn, in Big-oh it is T(n)<=cn^2,but merge sort never can be O(n^2)

and same with omega T(n)>=c.n,but merge always be greater than (n),it but in little-oh say T(n)<c.n^2 and little  omega T(n)>c.n,

Related questions

1 votes
1 votes
2 answers
1
shreshtha5 asked Dec 3, 2015
704 views
Q). Consider the following functions$f_1 = n^{\frac{4}{3}}$$f_2=2^{2^n}$$f_3= 2^{n^2}$$f_4= n!$$f_5=2^n$Which of the following is true?A). $f_1$ is $\Omega(f_2)$B). $f_2$...
0 votes
0 votes
1 answer
2
Chaitanya Kale asked Nov 10, 2022
294 views
Can we write f(2$^{n/a}$) = Θ(2$^{n}$) for any integer a >0?