Approach hintTry it first, then revealHide
Add one at the last digit and propagate the carry leftward, stopping as soon as a digit does not become 10. If every digit was 9, the result is a 1 followed by zeros.
Add one at the last digit and propagate the carry leftward, stopping as soon as a digit does not become 10. If every digit was 9, the result is a 1 followed by zeros.