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. |
Login to Continue
It will take less than 2 minutes