Search
⌘K
Get Premium
Leetcode 201. Bitwise AND of Numbers Range
Return the bitwise AND of all integers in [left, right]; the result is simply the common high-order binary prefix of left and right since any differing lower bits become zero across the range.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.