Finding maximum sum subarray

How can we find maximum sum sub array if we are finding maximum sum using kadane’s algorithm?

Hey @parwandarachit1601


This has an approach for printing indexes. Go to the bottom.

If your doubt is resolved please mark it as closed.