Solved LeetCode program · 174 of 1,000
#0201 · Bitwise AND of Numbers Range
Original English source
The left is 5. The right is 7. The result is left.
For every value from left plus 1 to right.
Set result to bitwise and of result and value.
Show result.
Expected stdout
4