Only two test cases passed out of 5.where am i going wrong?
@neha_153
Code is fine
You just forgot to consider what if the input is a single digit number
And what if a digit is zero ??
what is this? the original answers of the problems
@neha_153
Yes this is what the answers should have been
You can run it on your own cases to see where you went wrong
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.