I am working on a linear approach for finding the maximum contiguous subarray. I tried out an algorithm on my own, it is giving the correct sum. I wanted to find out whether