c#, Linq
Intuition\n Describe your first thoughts on how to solve this problem. \nWe can split each number into digits and enumerate\n\n# Approach\n Describe your approa
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\nWe can split each number into digits and enumerate\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\nLinq query\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n$$O(n * log(item))$$\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n$$O(1)$$\n\n# Code\n```\npublic class Solution {\n    public int[] SeparateDigits(int[] nums) {\n        static IEnumerable<int> Digits(int value) {\n            for (; value > 0; value /= 10)\n                yield return value % 10;\n        }    \n\n        return nums\n            .SelectMany(item => Digits(item).Reverse())\n            .ToArray();\n    }\n}\n```
['C#']