Easy C++ Solution
\n    class Solution {\n  \n     public:\n\n     vector separateDigits(vector& nums) {\n       \n\t   vector ans ; \n        \n\t\tvector nums1 ;\n      \n\t  f
\n    class Solution {\n  \n     public:\n\n     vector<int> separateDigits(vector<int>& nums) {\n       \n\t   vector<int> ans ; \n        \n\t\tvector<int> nums1 ;\n      \n\t  for(int i=0; i<nums.size();i++){\n           int numm = nums[i];\n          \n\t\t  int rev = 0 ;\n              \n\t\t\t  while(numm!=0){\n                  int rem = numm%10;\n                  rev = rev*10 + rem ;\n                  numm = numm/10;\n              }\n            nums1.push_back(rev);\n        }\n       \n\t   for(int i=0 ; i<nums1.size() ;i++){\n\t\t\n            while(nums1[i]!=0){\n                int rem = nums1[i]%10;\n                ans.push_back(rem);\n                nums1[i] = nums1[i]/10 ; \n            }\n            \n\t\t\twhile(nums[i]%10==0){\n                   ans.push_back(0);\n                   nums[i] = nums[i]/10; }\n\t\t   }\n\t\t   return ans ;\n       }\n\t\n       };
['Array', 'C']