LeetCode 660: Remove 9
Problem Restatement We imagine the positive integers after removing every number that contains the digit 9 . The remaining sequence begins like this: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, ... Notice that: 9 19 29 90 ... are all removed because they contain digit 9 . We are given an integer n . Return the n th positive integer in the filtered sequence. Input and...