You are given an integer array nums. Find the maximum sum of a pair of numbers from nums such that the largest digit in both numbers is equal.
Return the maximum sum among all such pairs, or
Constraints:
nums.length
nums[i]
You are given an integer array nums. Find the maximum sum of a pair of numbers from nums such that the largest digit in both numbers is equal.
Return the maximum sum among all such pairs, or
Constraints:
nums.length
nums[i]