You are given two integers n and x. You must construct an array of positive integers nums of size n such that:
nums is strictly increasing.
The bitwise AND of all elements in nums is equal to x.
Return the minimum possible value of nums[n - 1].
Constraints:
n, x
You are given two integers n and x. You must construct an array of positive integers nums of size n such that:
nums is strictly increasing.
The bitwise AND of all elements in nums is equal to x.
Return the minimum possible value of nums[n - 1].
Constraints:
n, x