Wipro interview question

what is kadane's algorithm, explain it