Convert Integer to the Sum of Two No-Zero Integers Easy solution
Howdy....\n.\n\n\n    public int[] getNoZeroIntegers(int n) {\n        int a = n;\n        int b = 0;\n        while(hasNext(a) || hasNext(b)){\n            a--
Howdy....\n.\n\n\n    public int[] getNoZeroIntegers(int n) {\n        int a = n;\n        int b = 0;\n        while(hasNext(a) || hasNext(b)){\n            a--;\n            b++;\n        }\n        int[] arr = {a,b};\n        return arr;\n    }\n    \n    public static boolean hasNext(int n){\n        if(n==0) return true;\n        \n        while(n>0){\n            int digit = n%10;\n            if(digit==0) return true;\n            \n            n/=10;\n        }\n        return false;\n    }
[]