please check the code i have given you the link.
my two testcases are not running.
Not getting the answer
@shubhamssj5.ss your program is giving wrong answer on sample input also. Dry run your code once for the given input. 0 is not even there in the array then how can it be there in the output?
it is happening in the coding blocks ide only.please do check on any other online compiler it is perfectly running got the sample inputs.
please explain me the mistake i am making while for other test cases.
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.