sir my code is working succesfully and print the desierd output when i sove in daily code section .
plz help
my code
Related daily code 17 july
hey @avverma11057
i can give u a hint after the contest ends like its not ethical to help when the contest is on
now contest gets over plz tell me where i am lacking in my code
7
1 0 1 1 1 0 1
for this test case
ur ans 0-3
which is incorrect
would u want to update the code by urself u should try making ur own test cases
1 0 1 1 1 0 1 size if sub array is 4 so index ahould be 0-3 how it is incorrect.
i say that ur output is incorrect…
answer should be 0-1
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.