Beats 100% | 0ms | O(N) Time complexity | O(1) Space complexity | Simple solution ✅
IntuitionTo achieve result with the most simple codeComplexity

Time complexity: O(n)


Space complexity: O(1)

Code
# Intuition
To achieve result with the most simple code 

# Complexity
- Time complexity: $$O(n)$$

- Space complexity: $$O(1)$$

# Code
```python3 []
class Solution:
    def getNoZeroIntegers(self, n: int) -> List[int]:
        a=n-1
        b=1
        while "0" in str(a) or "0" in str(b):
            a-=1
            b+=1
        return [a,b]
```
['Python3']