A Simple Java Solution
\n\n\nclass Solution {\n    public List<Integer> addToArrayForm(int[] num, int k) {\n        ArrayList<Integer> arr = new ArrayList<Integer>();\n        for (in
\n\n```\nclass Solution {\n    public List<Integer> addToArrayForm(int[] num, int k) {\n        ArrayList<Integer> arr = new ArrayList<Integer>();\n        for (int i = num.length - 1; i >= 0 ; i--) {\n            arr.add((num[i] + k) % 10);\n            k = (num[i] + k) / 10;\n        }\n        while (k>0){\n            arr.add(k % 10);\n            k = k /10;\n        }\n        Collections.reverse(arr);\n        return arr;\n    }\n}\n```\n\nComment down if needed more clarity.
['Java']