Java Easy 100% faster.....
\n\n# Code\n\nclass Solution {\n    public int[] separateDigits(int[] nums) {\n        List<Integer> list = new ArrayList();\n        for(int i = nums.length-1;
\n\n# Code\n```\nclass Solution {\n    public int[] separateDigits(int[] nums) {\n        List<Integer> list = new ArrayList();\n        for(int i = nums.length-1; i >= 0; i--){\n            int temp = nums[i];\n            while(temp > 0){\n                int digit = temp % 10;\n                list.add(digit);\n                temp = temp / 10;\n            }\n        }\n        int[] ans = new int[list.size()];\n        int idx = 0;\n        for(int i = list.size() - 1; i >= 0; i--){\n            ans[idx] = list.get(i);\n            idx++;\n        }\n        return ans;\n        \n    }\n}\n```
['Java']