Practice Problem

Bitwise AND of Numbers Range

Difficulty: Medium

Given two integers left and right representing a range [left, right], return the bitwise AND of all numbers in this range, inclusive.