Test cases not solved

I’m not able to solve any test case using the following code. Please let me know the issue.

Code Link: https://ide.codingblocks.com/s/627120

Hi @parikshitpanwar
if(A[i] == ‘\0’)
what are u doing this… it is a integer array… not a character array…
ur code is just giving yes in all test cases…
refer this https://ide.codingblocks.com/s/627207

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.