Using Map and List Comprehension
IntuitionApproachUse map(int, str(num)) to convert each character (digit) back into an integer.
Apply sum() for each "mapped object", which in this case is a li
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->breaking each number down into their individual digits, sum them, and then determine the smallest sum

# Approach
<!-- Describe your approach to solving the problem. -->Convert each number into a string.
Use map(int, str(num)) to convert each character (digit) back into an integer.
Apply sum() for each "mapped object", which in this case is a list of digits
Use min()

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->O(n*d), d being the avg number of digits per number

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->O(n)

# Code
```python3 []
class Solution:
    def minElement(self, nums: List[int]) -> int:
        return min([sum(map(int,str(num))) for num in nums])
```
['Python3']