Easiest Java Solution, better than 100%
```\nclass Solution {\n    public int[] getNoZeroIntegers(int n) {\n        int[] ans = new int[2];\n        for(int i=1;i<=n;i++)\n        {\n            boole
```\nclass Solution {\n    public int[] getNoZeroIntegers(int n) {\n        int[] ans = new int[2];\n        for(int i=1;i<=n;i++)\n        {\n            boolean flag = true;\n            int temp= n-i;\n            while(temp>0)\n            {\n                if(temp%10==0)\n                {flag= false;\n                 break;\n                }\n                temp=temp/10;\n            }\n            int temp1=i;\n             while(temp1>0)\n            {\n                if(temp1%10==0)\n                {flag= false;\n                 break;\n                }\n                temp1=temp1/10;\n            }\n            if(flag==true)\n            {\n                ans[0]=i;\n                ans[1]=n-i;\n                break;\n            }\n        }\n        return ans;\n    }\n}
[]