Search
⌘K

Leetcode 3094. Guess the Number Using Bitwise Questions II

Determine an unknown integer in a known range by interactively querying bitwise operations (AND/OR/XOR) between your chosen numbers and the secret; the challenge is to reconstruct all bits of the secret using bitwise identities and the fewest queries possible.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.