3300. Minimum Element After Replacement With Digit Sum
You are given an integer array
nums.You replace each element in
numswith the sum of its digits.Return the minimum element in
numsafter 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
numswith the sum of its digits.Return the minimum element in
numsafter all replacements.
1 | package main |