Kadane's algorithm
Hello everyone! in this post, we'll discuss kadane's algorithm. I'll try to keep it as simple as possible. The goal of this algorithm is to find a maximum value of the sub-array sum. Let's take an example to understand.
arr = [7,2,-1,-3,9]
the maximu...
blog.lokesh1729.com4 min read