Fractional knapsack problem is solved most efficiently by which of the following algorithm?

Fractional knapsack problem is solved most efficiently by which of the following algorithm? Correct Answer Greedy algorithm

Greedy algorithm is used to solve this problem. We first sort items according to their value/weight ratio and then add item with highest ratio until we cannot add the next item as a whole. At the end, we add the next item as much as we can.

Related Questions

Which of the following statement about 0/1 knapsack and fractional knapsack problem is correct?
Fractional knapsack problem is also known as __________
The main time taking step in fractional knapsack problem is ___________