URL Jump to https://club.sixated.com/post/kadanes-algorithm-finding-the-maximum-subarray-sum-ndogu3