what’s wrong in this code:
this is done as told in hint video.
what’s wrong in this code:
this is done as told in hint video.
Hi @YashJ
Please check your code’s line:32, it should be else if(mid*X > coupons) { not else if(mid > coupons) {.
I hope it helps you in getting your mistake 
thanks that was a silly error but still 3/6 testcases show wrong answer
Getting TLE in max ken biotonic subarray
solution-https://ide.codingblocks.com/s/183511 why tle
please solve this
and
why we are doing -1 in max = inc[0] + dec[0] - 1;
@tarunluthra
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.