Move zeroes problem

https://ide.codingblocks.com/s/300109 why test cases are failing for this code where this algo is wrong can u provide example where test case is failing

I do not see any case where your answer is failing. Can you tell me which case failed for you?

WELL I FIGURED OUT WHERE IT WAS FAILING LIKE FOR (1 0 0 1) OUTPUT WAS 0 0 1 1 STILL THANKS FOR HELP

No problem. If your doubt has been resolved please close this doubt.

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.