✅ C++ || 4 Lines || O(1) space
c++\nclass Solution {\npublic:\n    vector<int> getNoZeroIntegers(int n) {\n        auto hasZero = [](int num) {\n            auto s = to_string(num);\n        
```c++\nclass Solution {\npublic:\n    vector<int> getNoZeroIntegers(int n) {\n        auto hasZero = [](int num) {\n            auto s = to_string(num);\n            for (auto c: s) if (c == \'0\') return true;\n            return false;\n        };\n        for (int i = 1; i < n; i++)  if (!hasZero(n - i) && !hasZero(i)) return {i, other};\n        throw "Error";\n    }\n};\n```\n\n**For more solutions, check out this \uD83C\uDFC6  [GITHUB REPOSITORY](https://github.com/MuhtasimTanmoy/playground) with over 1500+ solutions.**
[]