1085. Sum of Digits in the Minimum Number
ArrayMath
Hints
Hint 1
How to find the minimum number in an array?
Hint 2
Loop over the array and compare each one of the numbers.
Hint 3
How to find the sum of digits?
Hint 4
Divide the number consecutively and get their remainder modulus 10. Sum those remainders and return the answer as the problem asks.
Preparing judge…