Lokesh Sanapalli is a software engineer who loves to solve real world problems using software engineering principles.
kadane's algorithm aims to find maximum sub-array sum. In this post, we will discuss about it and we'll solve best time to buy and sell stocks leetcode problem #121 using it.