edited by
492 views
0 votes
0 votes
A new algorithm MaxPack for optimally packing furniture in a transportation container claims to have worst case complexity O(n2 log n), where n is the number of items to be packed.

From this, we can conclude that:

 1.For every sufficiently large n, for every input of size n, MaxPack requires time proportional to n2 log n.

 2.For some n, for every input of size n, MaxPack requires time proportional to n2 log n.

 3.For every sufficiently large n, every input of size n can be solved by MaxPack within time proportional to n2 log n.

 4.For every sufficiently large n, there is an input of size n for which MaxPack requires time proportional to n2 log n.

 

which option is correct?
edited by

1 Answer

0 votes
0 votes
I THINK C IS CORRECT

A IS WRONG DUE TO SAYING PROPORTIONAL.

B IS WRONG  BECZ SAYING FOR SOME

D IS AGAIN DUE TO SAYING PROPORTIONAL

Related questions

0 votes
0 votes
0 answers
3
0 votes
0 votes
0 answers
4
Sajal Mallick asked Nov 27, 2023
182 views
As we have to select maximal set of “non overlapping” activities. So like job scheduling algo of greedy we can solve it. So according to that complexity must be O(n l...