Given a positive integer N. You have to find Nth natural number after removing all the numbers containing digit 9.
- Time : O(log9N)
- Space : O(log9N)
1 | class Solution{ |
Given a positive integer N. You have to find Nth natural number after removing all the numbers containing digit 9.
1 | class Solution{ |