Find a better solution for maximum subarray.
One more solution.