3300. Minimum Element After Replacement With Digit Sum
You are given an integer array
nums
.You replace each element in
nums
with the sum of its digits.Return the minimum element in
nums
after all replacements.
1 | package main |
3300. Minimum Element After Replacement With Digit Sum
You are given an integer array
nums
.You replace each element in
nums
with the sum of its digits.Return the minimum element in
nums
after all replacements.
1 | package main |