Difference between kadane algo and this solution

are both these same?
plz specify the difference between them

hello @dakshi
can u pls mention the second solution.

The solution for max subarray sum mentioned in video

ok ,there is no difference between those two approaches.
both are kadane only

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.