Q.

Fractional knapsack problem can be solved in time O(n).

A. true
B. false
Answer» A. true
Explanation: it is possible to solve the problem in o(n) time by adapting the algorithm for finding weighted medians.
4.2k
0
Do you find this helpful?
51

Discussion

No comments yet