algorithms

coding

Kadane's algorithm

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.

Read