Make a function which returns the maximum value You are a renowned hacker who has recently found a bug within Flipmart. For a g | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Make a function which returns the maximum value You are a renowned hacker who has recently found a bug within Flipmart. For a g

Make a function which returns the maximum value You are a renowned hacker who has recently found a bug within Flipmart. For a given amount of time, you can steal items from their inventory. However, each inventory item has a price and takes up a certain time to be available. Make a function which returns the maximum value of the inventory that can be stolen. For example function name : hackFlipmart Time available : 100 seconds Total inventory available : 4 items Time taken and value of each inventor

24th Nov 2017, 4:17 PM
Srivatshan.P.K
Srivatshan.P.K - avatar
1 Answer
+ 5
Sounds like homework.
1st Dec 2017, 11:24 PM
Private [GER]
Private [GER] - avatar