Started by Peter DanielsSep 28, 2021

Open
What is maximum nutrition obtained? Greedy/dp approach coding question ,Can anyone explain the approach to this question by taking some sample input?

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

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

You must be Logged in to reply
Techiio

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

facebooklinkdeintwitter

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Copyright techiio.com @2020 Kolkata, India
made with by Abhishek & Priyanka Jalan
Copyright techiio.com @2020
made with by Abhishek & Priyanka Jalan