You are given an integer array nums.
The digit range of an integer is defined as the difference between its largest digit and its smallest digit.
Find the maximum digit range among all elements in nums, and return the sum of all elements that achieve this maximum digit range.
Constraints:
nums.length
nums[i]
You are given an integer array nums.
The digit range of an integer is defined as the difference between its largest digit and its smallest digit.
Find the maximum digit range among all elements in nums, and return the sum of all elements that achieve this maximum digit range.
Constraints:
nums.length
nums[i]