Range AND Query

Given two integers left and right, compute the bitwise AND of every number in the inclusive range [left, right]. The result isolates the common binary prefix of both bounds with all lower bits set to zero.

Examples
Input: [5,7]
Output: 4
Hints

Range AND Query

Given two integers left and right, compute the bitwise AND of every number in the inclusive range [left, right]. The result isolates the common binary prefix of both bounds with all lower bits set to zero.