Simple java solution
class Solution {\n\n    public int[] getNoZeroIntegers(int n) {\n        int i=1,j=n-1;\n        int a[]=new int[2];\n        while(i<=j)\n        {\n          
class Solution {\n\n    public int[] getNoZeroIntegers(int n) {\n        int i=1,j=n-1;\n        int a[]=new int[2];\n        while(i<=j)\n        {\n            if((check(String.valueOf(i)))&&(check(String.valueOf(j))))\n            {\n                a[0]=i;\n                a[1]=j;\n                break;\n            }\n            i++;\n            j--;\n        }\n        return a;\n    }\n    static boolean check(String n)\n    {\n        return n.contains("0") ? false : true;\n    }\n}
[]