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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly