test cases are going wrong
On checking from custom input I am getting the answers
@ayushkatiyar139 just take 2 cases
- use kadane algorithm
- find a subarary which is minimum and you can skipp it and then take the rest part
then take the max of these 2 parts
it will work fine if issue still exists let me know
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.