Infosys Interview Question

Find the maximum subarray sum(kadane" algo)