• + 0 comments

    hint: if your solution is seemingly correct, but fails for 1-2 test cases, then the answer is that 0 is NOT a valid 1-digit number in this problem (just to save some hackos for you :-) )