You are given an array nums of positive integers.
You must take the reverse of the digits of each integer in the array and append it to the end of nums.
Return the total number of distinct integers present in the resulting array.
Note: Reversing an integer removes any leading zeros (for example, reversing
results in ).
Constraints:
nums.length
nums[i]
You are given an array nums of positive integers.
You must take the reverse of the digits of each integer in the array and append it to the end of nums.
Return the total number of distinct integers present in the resulting array.
Note: Reversing an integer removes any leading zeros (for example, reversing
results in ).
Constraints:
nums.length
nums[i]