everytime i try to submit my code time limit exceeded comes
https://ide.codingblocks.com/s/233466
Code not working
hello @abhinavgoyal912
it is showing tle because its time complexity is O(n^3).
improve ur time complexity by using kadane algorithm.