Wipro Interview Question

what is kadane's algorithm, explain it