pls help with code two test cases are failing
here is the code link https://ide.codingblocks.com/s/197317
Pls help with code two test cases are failing
@pyash
hello yash,
if first digit is 9 then dont convert it to 0.
for example if input is 9882 then output should be 9112
all test cases are passing except test case 2 after conversion
@pyash
hello yash,
that rule is only for first digit (to avoid trailing zeros) for other places u can convert it to zero .
for ex -> 98889
then output -> 91110