ERRORS IN CODE OF MAX SUMARRAY

Hi
Please can you help me what’s wrong in my code.
Thanks

Save your code on ide.codingblocks.com and then share its link.

Hi Link is not getting created in IDE

Hi Please can you help me what’s wrong in my code. Thanks

Hi I have posted a doubt but no one is replying???

Run and check now. For this you can use the Kadane algorithm to do it in O(n) time

Dang! Your program was too slow to compute the answer to one or more testcases. Think - is there a more efficient way to arrive at the solution than brute force?

This is the error which is now reflecting

Apply the Kadane algorithm here. Its video lecture must be there in your playlist.
This is faster with O(n) complexity.