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

  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) true
Explanation: it is possible to solve the problem in o(n) time by adapting the algorithm for finding weighted medians.

Explanation by: Mr. Dubey
it is possible to solve the problem in o(n) time by adapting the algorithm for finding weighted medians.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
739
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate