C++ || Easy Solution
\nclass Solution {\npublic:\n    vector<int> separateDigits(vector<int>& nums) {\n        vector<int>ans;\n        for(int i=0;i<nums.size();i++){\n           s
```\nclass Solution {\npublic:\n    vector<int> separateDigits(vector<int>& nums) {\n        vector<int>ans;\n        for(int i=0;i<nums.size();i++){\n           string num=to_string(nums[i]);\n            for(int j=0;j<num.size();j++){\n                ans.push_back(num[j]-\'0\');\n            }\n        }\n        return ans;\n    }\n};\n```
['C++']