Medium
059Longest Nice Subarray
Return the length of the longest subarray where every pair of values has bitwise AND equal to zero.
EXAMPLES
Example 1
Input
{
"nums": [
1,
3,
8,
48,
10
]
}
Output
3FUNCTION SHAPE
nums: intArray→int