Let us consider that the capacity of the knapsack W = 80 and the list of provided items are shown in the following table. 

Items

1

2

3

4

Profit(P)

120

60

60

100

Weight(W)

30

60

20

50

 

Find the maximum profit gain by applying fractional knapsack.

1
220
2
160
3
240
4
280

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation