I think some relevant tests are missing.
I posted a wrong solution that passed all the tests, but my answer would be wrong when the base 9 expression of n contains consecutive 0s.
1 Like
I think some relevant tests are missing.
I posted a wrong solution that passed all the tests, but my answer would be wrong when the base 9 expression of n contains consecutive 0s.