I tried many cases but still this solution is failing for two testcases. Unable to find the missing cases. Please help.
Need help with the missing cases
in case of string like 120 answer should be 1. but your answer is 2 please try to debug your code with this sample example.
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.