Problem in case of '0'


here is my code
how we will take care of zero
as out[j]=" " is not an valid operation

hi @himanshuanand729 remove the case where u r handling digit == 0 just remove that if statement completely

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.

all test cases are passed but how 0 case is considered and space is generated