I can't pass 1 test case
Hey @haseebshaik00 you are not passing single test case because it consist of zero digit also. As itβs not mentioned in the question(fault by problem setter) . When you encountered 0 , you have to add a space just like you did for when you get 1. Right now you are just avoiding and not adding anything .
int digit=in[i]-β0β;
if(digit==0)
{
Keypad(in,out,i+1,j);
}
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.