You are given an integer array nums. A pair of integers (x, y) is called a strong pair if it satisfies the condition
You may choose any two integers from nums to form a strong pair.
Return the maximum bitwise XOR value among all possible strong pairs in nums.
Note: An element can be paired with itself to form a strong pair.
Constraints:
nums.length
nums[i]
You are given an integer array nums. A pair of integers (x, y) is called a strong pair if it satisfies the condition
You may choose any two integers from nums to form a strong pair.
Return the maximum bitwise XOR value among all possible strong pairs in nums.
Note: An element can be paired with itself to form a strong pair.
Constraints:
nums.length
nums[i]