Kadane's algorithm

Can we display the subarray using Kadane’s algorithm or just the sum?

@Senjuti256 kadane’s algo is used to find the maximum subarray sum, that is quite different from the question here

sorry I meant can we display the subarray that yields maximum sum using this algorithm?

@Senjuti256 i believe this article has what you are looking for

link not opening. pls can you send it again

@Senjuti256 please see the chat