retagged by
499 views

1 Answer

0 votes
0 votes
Total problem : step(1) REDUCTION => $O(n^2)$ , and step(2) Solve => $O(n^3)$

T(n) = $O(n^2) + O(n^3) = O(n^3)$

so, 2. $O(n^3)$
edited by
Answer:

Related questions

0 votes
0 votes
1 answer
2
Shraddha dwevedi asked Nov 24, 2021
344 views
Q.which of the following data structure cannot be used for efficient implementation of Huffman encoding? a. Binary min heapb. Binary max heapc. AVL tree (height balanced ...
1 votes
1 votes
1 answer
3
Hira Thakur asked Aug 14, 2016
985 views
Big oh estimate forf(x)=(x+1)log($x^2 +1$)+3$x^2$ is given as1.O(xlogx)2.O($x^2$)3.O($x^3$)4O($x^2$logx)
1 votes
1 votes
0 answers
4
amit166 asked Nov 24, 2018
368 views