
The Hamming distance between two integers is the number of positions at which the corresponding bits are different.
Given an integer array nums , return the sum of Hamming distances between all the pairs of the integers in nums .
1 <= nums.length <= 10 ^40 <= nums[i] <= 10 ^9The answer for the given input will fit in a 32-bit integer.