Space Complexity of The Maximum Subarray

Space Complexity of The Maximum Subarray which has Time Complexity Of O(N^2)

Space Complexity: O(1)