Https://ide.codingblocks.com/s/54435

https://ide.codingblocks.com/s/54435
max sub array time limit issue or are we supposed to do this kadane’s algorithm

you should use kadane as it works in O(N) complexity