This code is not giving correct output.
Please help me to find that.
This code is not giving correct output. Please help me to find that
hey @cbcao263
there are a few mistakes in the code
like the start need to be the greatest element of the array
just use the time paramter at the end for calulcating the answer
please refer to https://ide.codingblocks.com/s/221156