I tried to solve it on another site it is showing errors A help will be appreciated
Just Let me know what i need to correct in the code.
How can i Share screenshot
I tried to solve it on another site few cases are not getting good
Hello @anmolaggarwal.432 please share the screenshot and the your code by saving it on ide.codingblocks.com .
please share the the link where you are submitting?
It is on leetcode so sharing link will not have my code
it’s a question on leetcode prob 53 maximum subarray
please help as soon as possible it will be appreciate
@anmolaggarwal.432 check this:
if you dont understand anything in this you can ask here:
Happy Learning!!
I have not understand the last loop of if(!flag) just explain the code thats it
@anmolaggarwal.432 in tha above loop I have checked if there is no positive element then we will return the maximum negative element from the array.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.