Java Solution  || The Hard way
Please UPVOTE if you like my solution!\n\nclass Solution {\n    public List<Integer> addToArrayForm(int[] num, int k) {\n        List<Integer> list = new ArrayL
Please **UPVOTE** if you like my solution!\n```\nclass Solution {\n    public List<Integer> addToArrayForm(int[] num, int k) {\n        List<Integer> list = new ArrayList<>();\n        String n = "";\n        for(int i = num.length-1;i>=0;i--){\n            n += String.valueOf(num[i]); \n        }\n        StringBuilder sb = new StringBuilder(String.valueOf(k));\n        String s = sb.reverse().toString();\n\n        int carry = 0;\n        int sum = 0;\n        for(int i = 0,j = 0;i<n.length() || j<s.length();i++,j++){\n            \n            if(i >= n.length()){\n                sum = (s.charAt(j)-\'0\') + carry;\n                carry = 0;\n            }\n            else if(j >= s.length()){\n                sum = (n.charAt(i)-\'0\') + carry;\n                carry = 0;\n            }\n            else{\n                sum = (n.charAt(i)-\'0\') + (s.charAt(j)-\'0\') + carry;\n                carry = 0;\n            }\n            if(sum>=10){\n                list.add(sum%10);\n                carry = sum/10;\n            }\n            else if(i == n.length()-1 && j >= s.length() && sum >= 10){\n                list.add(sum%10);\n                list.add(sum/10);\n            }\n            else if(i >= n.length() && j == s.length()-1 && sum >= 10){\n                list.add(sum%10);\n                list.add(sum/10);\n            }\n            else if(i == n.length()-1 && j == s.length()-1 && sum >= 10){\n                list.add(sum%10);\n                list.add(sum/10);\n            }\n            else{\n                list.add(sum);\n            }  \n        }\n        if(carry != 0){\n            list.add(1);\n        }\n        \n        Collections.reverse(list);\n        return list;\n    }\n}\n```
['Java']