Solution of this problem not understandable

I have seen video of Tech Dose channel, but i am not able to get the solution.

even with the solution, i am not able to get it.

Please share a solution that is understandable.

Hey @kavit Have you seen the editorial of coding blocks for this problem?

Yes, i have gone through it, but it is still not understandable…
Case 2 is not understandable.
Also in CB editorial, why it is returning max of max_wrap and max_kadane?
Also what is meaning of wrap?

Please explain/share something so that i can understand.

why in editorial it is returning Max of max_wrap and max_kadane?..please just explain this thing only

@kavit Refer this : https://youtu.be/os4B7MlHAbs

this video is ok…Thanks
but please explain what i have asked in previous comments in this thread.

Hey @kavit Bcoz in the case of circular sum we can get max sum either through straight subset i.e. no circulation involved or we can get max sum by involving circulation and since we are checking both of them that’s why the answer will be max of them.

okay.
and what is meant by wraping?

@kavit Wrapping = doing circulation.

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.