DSA Flashcards
1
Q
What is Kadane’s Algorithm
A
Kadane’s Algorithm is an iterative dynamic programming algorithm. It calculates the maximum sum subarray ending at a particular position by using the maximum sum subarray ending at the previous position.