1082. Sum of Digits in the Minimum Number

Easy
Array
Math

Description

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.

Similar Questions

Statistics

Acceptance
76.7%
Submissions
33,761
Accepted
25,882