3125. Maximum Number That Makes Result of Bitwise AND Zero
Given an integer
n, return the maximum integerxsuch thatx <= n, and the bitwiseANDof all the numbers in the range[x, n]is 0.
1 | class Solution { |
3125. Maximum Number That Makes Result of Bitwise AND Zero
Given an integer
n, return the maximum integerxsuch thatx <= n, and the bitwiseANDof all the numbers in the range[x, n]is 0.
1 | class Solution { |