Solving another classic: the Maximum sum sub-array problem.
I am amazed to find out how many of you guys have solved this question, but only so few know the approach using partial sums.
This video is for you!
Also, throwback to those amazing times I was shooting my "Bible of Coding Interviews and Competitive Programming" on the whiteboard from student dorm room.
More to come, Andy
nice explanation. Thank You
Very nice explanation Learnt new approach for solving Kadane's algorithm
But, do you know how to solve it with Divide and Conquer approach?