Simple C++ approach using two pointer
\nclass Solution {\npublic:\n    bool isZero(int n){\n        while(n>0){\n            int a = n%10;\n            if(a==0) return true;\n            n=n/10;\n  
```\nclass Solution {\npublic:\n    bool isZero(int n){\n        while(n>0){\n            int a = n%10;\n            if(a==0) return true;\n            n=n/10;\n        }\n        return false;\n    }\n    \n    vector<int> getNoZeroIntegers(int n) {\n        if(n<10) return {1,n-1};\n        int i=1, j = n-1;\n        while(j>i){\n            if(isZero(j)||isZero(i)){ \n                j--;i++;\n            }\n            else return {i,j};\n        }\n        return {};\n    }\n};\n```
['C']