Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
How to find the minimum number in an array?
Loop over the array and compare each one of the numbers.
How to find the sum of digits?
Divide the number consecutively and get their remainder modulus 10. Sum those remainders and return the answer as the problem asks.