Given an integer array nums, find the maximum product of two distinct elements nums[i] and nums[j] such that nums[i] and nums[j] share no common set bits in their binary representations.
Return the maximum product of such a pair. If no two elements share zero common set bits, return
Constraints:
nums.length
nums[i]
Given an integer array nums, find the maximum product of two distinct elements nums[i] and nums[j] such that nums[i] and nums[j] share no common set bits in their binary representations.
Return the maximum product of such a pair. If no two elements share zero common set bits, return
Constraints:
nums.length
nums[i]