Given two integers left and right, return the bitwise AND of all numbers in the range [left, right].
Input: left=5, right=7 Output: 4 Input: left=0, right=0 Output: 0 Input: left=1, right=2147483647 Output: 0
Unlock hints progressively — start gentle, go deeper only if needed.
Level 1: Gentle Nudge
A subtle direction
Level 2: Approach
The algorithm to use
Level 3: Detailed
Step-by-step guidance
to save progress and use AI features