Ezvor

3064. Guess the Number Using Bitwise Questions I

MediumBit Manipulation Preparing judge… LeetCode
Bit ManipulationInteractive

Hints

Hint 1
Ask 2i for 0 <= i < 30.
Hint 2
If the result is greater than zero for some i, this bit is a set bit in n.