+ 3
Please help to modify this
Please can you help me to solve this code https://code.dcoder.tech/challenges/5b28df4362db8b46ab2ac6ee/cashback I am able to find solution for given list but not the minimum list this is my try : https://code.sololearn.com/cZwE7Y2wcz1j/?ref=app Please look what else can I add to it It is just I am not able to solve the small note ☹️😔 Edit: the question asks the minimum cost of all possible lists given by user but I am not able to find the solution for all possible lists what I am able to do is to give the minimum cost for given list please help me to find the way I can modify my program so that it gives solution for all possible list not only one list
5 Antworten
+ 1
You can input and check I also dont know the parameters. by the way it doesn't work for the initial condition even so please tell me the algorithm on which you made the code but will tried
+ 1
george No it is not check out the sample input given and sample output given
0
Could you please told me the imput parameters to check?!
0
Please check it!!
https://code.sololearn.com/caPOqn3kO4qv/?ref=app
0
I think algorithm is sum of (give-take)