Question DSA-GRDY-0007
EasyIn the fractional knapsack problem, in what order are items taken?
- A.
By highest value per unit weight first
- B.
By highest value first
- C.
Show answer and explanation
Answer: A
Taking the best value-to-weight ratio first (with a fraction of the last item) is optimal.