Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Think about forming numbers in the powers of 2 using their bit representation.
The minimum power of 2 not present in the array will be the first number that could not be expressed using the given operation.
Solve with full IDE support and test cases