Please tell the mistake in my code as I am not able to pass 2
testcases…
Chewbacca and Number doubt
o/p should not contain leading zeroes.
in your code if starting digit contains 9 so start becomes 0
I hope your doubt is cleared . if yes dont forget to mark it resolved 
@G_rahil
your code for output 8555 was giving 8444 there was error is starting position check
i have corrected it here have a look
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.