there are 2 set of food items , each set has certain items with their nutrition value. It is compulsory to take at least 1 item from each set. Maximum weight of items that could be taken is W. What is maximum nutrition obtained? Can anyone explain the approach to this question by taking some sample input?
0 Replies